domain not redirect

Hello guys,

if I type I want to see the index.html at /var/www/

but I see my test index.html on /var/www/

I only can see my site if I acess http://myIP/

can somebody help me? any tips?


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Thanks for your help guys, found the problem. Now its working after I check the step five from this tutorial <br> <br> <br> <br>regards.

2 domains and 1 subdomain listed there, the subdomain is working fine: , but the main domain: not working correctly, its showing me the index.html file at /var/www/ and not /var/www/ <br>

What’s the output of <pre>sudo ls /etc/apache2/sites-enabled</pre>?