So if you have example.com, how do you set up app.example.com?
All you need do is create an A record and point it to the relevant IP address that hosts the service. If it's a website then you then need to tell the web server the web site should response to this domain.
For instance if we have a web service onto that we want to handle app.example.com we first set up the website (it could be a new site or existing site) so that it knows it has a new identity (host header) app.example.com. Then we edit the zone file (DNS) and in the example.com we create an A record pointing to the IP address that corresponds to website that handles app.example.com.
That's the hands-on way of doing it. Most providers will simplify this in some way.
Just as an aside, it's very pleasing to see example.com actually exists.
Just as an aside, it's very pleasing to see example.com actually exists. |
Oh yes. It's a reserved domain just for this purpose.
Home Home Home Home Home