Report this

What is the reason for this report?

IP adress points to my subdomain

Posted on January 15, 2015

Hello there,

I’ve set up a LAMP server on an CentOS VPS, created DNS records in DigitalOcean panel as instructed by the tutorials. Everything works fine on the main domain name and sub domain.

However, if I type my IP to address bar of browser, it serves me my subdomain, not the main domain.

in my ZONE file are these records -

@ IN A 95.85.27.226 asdf IN A 95.85.27.226 www IN CNAME kailo.photography.

thank you



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!

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.

The first vhost is used as the default vhost.

This comment has been deleted

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.