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
Virtual host / domain only works without www. prefix
Would like to know where i’m making a mistake with the 2 sites i have that i can only access like : site.com instead of www.site.com
I have 3 domains / virtual hosts setup and 1 of them is working perfectly.
However the 2 other are setup identical but have this problem.
I did also sudo service apache2 reload to take the new settings but nothing has happened.
Thank you very much for your help.
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.×