By georgesemaan
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”
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
