Report this

What is the reason for this report?

Domain name redirects to IP address

Posted on July 1, 2013

I registered a new domain, changed its nameservers to point to DO’s. I went to my control panel, added a new domain: maghnatis.com

Now when I goto http://maghnatis.com the site redirects to the IP address. How can I keep it pointing to the domain name?

And when I goto http://www.maghnatis.com (notice www.) it gives: Server not found



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.

What web server do you have installed on your droplet? <br> <br>Also, did you create a CNAME “www” with host “@”?

What control panel are you using? Please pastebin your virtualhost config. <br> <br>As for www., dd the following CNAME record to your domain: <br> <br>www CNAME @

I am not using a control panel. I installed Python, Postgers and Cassandra manually to run my site. <br>I’m afraid of installing a webserver with a control panel because I don’t want that to erase the site I have uploaded. I would like to keep my IP address and domain name pointing to /home/mysite <br> <br>And no I did not add “www” after the “@”. There’s an “@” on the DNS page but it says “A” not “CNAME”

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.