Report this

What is the reason for this report?

How to connect subdomain to my droplet?

Posted on November 17, 2020

I am new to hosting. I had someone create a subdomain and we wanted to connect it to my droplet. I created DNS A Record, the hostname being the subdomain and is directed to my droplet. The subdomain works for some time before it gives me an error page. I have to delete and re-enter my domain name to make it work again. How can I make it live indefinitely?



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!

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.

Hi @alincastre496,

Can you let us know the error that you are receiving? Additionally, I’ll recommend if your DNS has propagated properly. You can check that one by accessing the following website and typing in your subdomain in there :

https://www.whatsmydns.net/

One other thing, but that’s for later if everything with the DNS is correct, have you added your website to your WebService (Apache/Nginx)?

Regards, KFSys

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.