Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Ghost Configuration Need www
I first changed the /etc/nginx/sites-available/ghost file to server_name example.com and changed the /var/www/ghost/config.js file in Production to: url: ’http://www.example.com, I then attempted to access the site. When using example.com, I visit the site, but when I use www.example.com, I get the Nginix Welcome screen.
I know this is a configuration error some place and I could spend hours playing around with it, but I’d prefer to ask here because I have a feeling it is a very easy to fix error.
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.×