Trouble pointing namecheap domain to wordpress droplet.

Posted May 20, 2019 1.7k views

I set up the wordpress droplet and it works 100% as ip.ip.ip.ip

I’ve changed my nameservers on namecheap to (and ns2 & ns3)

I have the following DNS records on DigitalOcean:
CNAME - is an alias of (43200),
NS - directs to (and ns2-3) (1800),
— btw does that . at the end belong there?
A - directs to ip.ip.ip.ip (3600)

I also changed WordPress Address (URL) & Site Address (URL) to but now I can’t access my wordpress site on this doman or ip.

Anything else I need to do or add in DNS or something?


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.

Submit an Answer
1 answer

Hi @tuzigou,

First make sure your domain does actually point to your droplet. You can do so by pinging it


Check the result and if the result is correct.

If the IP is correct then you’ll need to point your attention to your configuration. Firstly, check your database as the previous comments have suggested. Check in your wpoptions
table in your database and see what does the two rows home and site
url. You shouldn’t have to edit your wp-config.php to hardcode your domain.