Report this

What is the reason for this report?

I want both www.* and the root domain to point at my Ghost blog. How do I do this?

Posted on September 10, 2014

Currently, only http://www.karimmaassen.com goes to my Ghost blog. http://karimmaassen.com fails. How do I fix this?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

What Webserver are you on (NGINX, APACHE)? does your configuration file look like this?

If your on UBUNTU

NGINX: (/etc/nginx/sites-enabled) server_name karimmaassen.com *.karimmaassen.com www.karimmaassen.com;

After you configure: service nginx restart

APACHE:(/etc/apache2/sites-enabled) ServerName www.karimmaassen.com ServerAlias karimmaassen.com *.karimmaassen.com

After you configure: service apache2 restart

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.