E
E
Egor2014-11-17 15:27:48
Domain Name System
Egor, 2014-11-17 15:27:48

How to link a subdomain to a VPS if the main domain is on shared hosting?

Good afternoon.
There is a domain - example.com. It is tied to shared hosting. Managed via ISP panel.
There is a VPS on Digitalocean. The application is on the server. You need to bind the application to a subdomain - app.example.com.
What has already been done. I went to the ISP panel in the domain settings and added an A record there
'app.example.com.' and server IP on DO. But it doesn't work.
What have I done wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
Wimbo, 2014-11-17
@Wimbo

$ dig +short app.example.com @shared_server
Check if the IP is given from the shared server itself.
Also, look at how many ns the zone is given: $ dig +
trace app.example.com
$ dig +trace example.com to NSs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question