Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
IP Address not Domain Name in browser address bar
I don’t seem to have entered my DNS A, CNAME records correctly. If I visit the site from a Google search the IP address of the droplet stays in the address bar.
If I type ‘csmotors.uk’ into the address bar it is replaced by the IP address. If I type ’www.csmotors.uk’ into the address bar it is replaced by 'csmotors.uk.
My DNS A record looks like this:
A - csmotors.uk - directs to: 18.104.22.168 - TTL 3600
My DNS CNAME record looks like this:
CNAME - www.csmotors.uk - is an alias of csmotors.uk
It’s almost as if I need an IP address to domain name rule but I can’t seem to add one like that…
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.×