Hello,
My domain: www.example.com which is with ‘BigRock’, which has nameservers connection to the ‘HostGator’. Now, I want to point www.blog.example.com sub-domain to ‘DigitalOcean’.
example.com (BigRock) ----> HostGator blog.example.com (BigRock) ----> DigitalOcean
In order to achieve this, following are the steps I have taken but it still doesn’t seem to be working as expected. I already waited for 48 hours after making these changes.
I think step 1 and 2 are necessary, I’m not sure about step 3.
Can someone help me here please? I might not have provided all the necessary details so please feel free to ask any follow-up question. Thank you.
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!
Accepted Answer
Hello, @suchakmaulik179
If your domain name is using Hostgator’s nameservers than all DNS changes need to be made from their control panel, because the active DNS zone is there. If you made DNS changes for your domain name from other control panel such as BigRock, the DNS changes will not take effect.
You can simply create an A record for blog.example.com and point it to the IP address of your droplet with DigitalOcean.
Hope that helps!
Regards, Alex
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.