By welski
I created my first droplet using my first domain.
Now I bought a new domain and point the DO nameservers to that domain and delete nameservers on the old domain.
My droplet name is using the first domain so what I did is change the droplet name to the new domain.
Now my website shows We can’t connect to the server at firstdomain.com.
And it still shows the first domain even if I typed the new domain on the browser.
Please help.
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!
Are you still having problems?
You need to make sure that the DNS settings on your domain registrar (123reg, 1&1 etc) have an A record pointing to your server’s IP address for the new domain.
Your saying that you can’t access the website using the IP address - this could mean that your DNS changes are still propagating and its trying to take you to the old domain name. Either wait 24-48 hours for the DNS to propagate.
Or add this to your wp-config.php file , below the salts security keys define(‘WP_HOME’,‘http://NEWSITE.co.uk’); define(‘WP_SITEURL’,‘http://NEWSITE.co.uk’); replacing newsite.co.uk with your actual domain name
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.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.