if I type www.mydomain.com I want to see the index.html at /var/www/mydomain.com/public_html/
but I see my test index.html on /var/www/
I only can see my site if I acess http://myIP/mydomain.com/public_html/
can somebody help me? any tips?
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.
Thanks for your help guys, found the problem. Now its working after I check the step five from this tutorial
2 domains and 1 subdomain listed there, the subdomain is working fine: mcflats.belasmarcas.com.br , but the main domain: belasmarcas.com.br not working correctly, its showing me the index.html file at /var/www/ and not /var/www/belasmarcas.com.br/public_html
What’s the output of <pre>sudo ls /etc/apache2/sites-enabled</pre>?
Ubuntu 12.04.3 x64
Depends, what OS are you using?
you guys mean my apache2.conf file?
Hey guys, Sorry, Im using LAMP / apache2
at least you need to mention what web server type you are running i.e Nginx or Apache so that we can guess what the issue is…
<br>besides, it is better to give us a snapshot of your server config so that we know what the root file you setup…
What is the server root that you specified in your Web server’s configuration file?