How to connect subdomain to my droplet?

Posted November 17, 2020 303 views

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?

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 @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 :

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)?