Question

I can access my site with IP but not with domain name

Hello

I am new here and i have some problems setting up my custom domain. I can access it via server ip, but i cant access it with domain name. Here is screenshot on my domain settings.

Screenshot

Thanks for help


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.

Hey, just wanted to let you know, that my site is now working… I had to wait for DNS to change for 2 days… didnt know that it takes so long.

Thanks for help anyway.

That’s because you need to add a vhost. https://httpd.apache.org/docs/2.2/vhosts/