Hello,
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: 134.209.186.11 - 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…
Any ideas?
Thank you!
N.
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!
Thanks KDsys,
I’ve followed the instructions and made the recommended changes. If I access the site through Google Chrome it still appears to have the same problem but this may be just caching as Tor and IE seem to be working OK.
Thank you!
Hi @CarverFan,
I can confirm your DNS is perfectly fine. You need to check your Web Service’s configuration whether it’s Apache or Nginx. From there you can actually resolve this matter.
If you are using Apache, you can read this DigitalOcean article, it will show you how to create the proper Apache vhost file - Article
If you are using Nginx, in that case here is another DigitalOcean article which will help - Article
Take a look at the relevant article for you and see if you have actually missed anything while configuring your droplet.
Regards, KDsys
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.