Local to external subdomain

Discussion in 'General' started by Sergio Alejandro, Jun 16, 2015.

  1. Sergio Alejandro

    Sergio Alejandro New Member

    Hello everybody,

    I’m trying to figure out how to point a local subdomain to some other subdomain on external server/ip. I have read some posts but I cannot get it working. The story is well known to you:

    This is my first post, so I have to replace . with [dot] (no links allowed for me)

    There are 2 hypothetical domains: localsite[dot]com (on DirectAdmin, IP 1[dot]2[dot]3[dot]4) and externalsite[dot]com (on ISPConfig 3, IP 5[dot]6[dot]7[dot]8). I need movies[dot]localsite[dot]com display content from cms installed at movies[dot]externalsite[dot]com

    I’m doing this on externalsite[dot]com:
    Setup new website (not subdomain) movies[dot]externalsite[dot]com
    Add records to DNS zone for externalsite[dot]com:
    movies A 5[dot]6[dot]7[dot]8
    www[dot]movies A 5[dot]6[dot]7[dot]8

    Create DNS zone for movies[dot]localsite[dot]com (still at externalsite[dot]com) and add website DNS records:
    movies[dot]localsite[dot]com. A 5[dot]6[dot]7[dot]8
    movies[dot]localsite[dot]com. NS ns1[dot]externalsite[dot]com
    movies[dot]localsite[dot]com. NS ns2[dot]exernalsite[dot]com

    On localsite[dot]com I’m adding an A record to DNS:
    movies[dot]localsite[dot]com. A 5[dot]6[dot]7[dot]8

    At this point, movies[dot]externalsite[dot]com opens just fine, but movies[dot]localsite[dot]com opens default page at localsite[dot]com, instead of movies[dot]externalsite[dot]com content…

    What am I missing here?

    Thanks !

Share This Page