main dns redirect subdomain to local server?

There isn't. Redirect's are not made to local ip adresses.
If you have a server at home, make a subdomain and make an A record like this:

domain.com A 212.204.144.88 (your datacenter's main server ip)
sub A 72.43.144.212 (so let the subdomain point to the ip of your internet connection at your home)
Then in your router at home, make a port forward to 192.168.x.x where your website/server is running.
 
no home server, many colo servers

main server1 all dns (router) 6 other servers mysql server2, mail server3 etc all using internal ips
 
Can't do it with a redirect; even though the machine is in your DC, a redirect will make the local (non-routable) IP# show up in the visitor's browser, where of course it won't work.

I suppose you could do it by setting up an apache proxy, so it's still going through your public IP#.

Jeff
 
Back
Top