Koozali.org: home of the SME Server

Subdomain pointing to an external website

Offline ElFroggio

  • *
  • 262
  • +0/-0
Subdomain pointing to an external website
« on: March 23, 2011, 02:27:51 AM »
Hi,

Is there a way of setting up so I have a subdomain of my website to point to another website (controlled by somebody else). I have already setup the cname for the alias and from outside, it works. subdomain.hostone.com --> subdomain.hosttwo.com

The problem is when I'm within the network it doesn't work. The SME does the DNS. How to I add the cname to the internal DNS?

Any suggestion?

Thanks

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Subdomain pointing to an external website
« Reply #1 on: March 23, 2011, 03:16:25 AM »
Enter the hostname with external IP address via the Hostnames and Addresses panel.

Offline ElFroggio

  • *
  • 262
  • +0/-0
Re: Subdomain pointing to an external website
« Reply #2 on: March 23, 2011, 04:48:37 AM »
Enter the hostname with external IP address via the Hostnames and Addresses panel.

Thank you, but I can't enter an IP address.

It's smugmug.com, they are on the akamai network. There are dozens of IP addresses from akamai. Here are just a few:

Code: [Select]
Query for syv.smugmug.com type=255 class=1
  syv.smugmug.com CNAME (Canonical Name) www.smugmug.com.edgesuite.net
Dig syv.smugmug.com@usc1.akam.net (64.208.249.147) ...
Authoritative Answer
 Query for syv.smugmug.com type=255 class=1
  syv.smugmug.com CNAME (Canonical Name) www.smugmug.com.edgesuite.net
Dig syv.smugmug.com@ns1-132.akam.net (193.108.91.132) ...
Authoritative Answer
 Query for syv.smugmug.com type=255 class=1
  syv.smugmug.com CNAME (Canonical Name) www.smugmug.com.edgesuite.net
Dig syv.smugmug.com@ns1-154.akam.net (193.108.91.154) ...

These IPs do not point to the subdomain, but are proxies for smugmug.com and internally they do the redirection. If I could just create a CNAME in SME, I'd be done.

Offline crazybob

  • *****
  • 894
  • +0/-0
    • Stalzer R&D
Re: Subdomain pointing to an external website
« Reply #3 on: March 23, 2011, 11:37:22 AM »
I do this now by setting the subdomain at my registrar.
If you think you know whats going on, you obviously have no idea whats going on!

Offline ElFroggio

  • *
  • 262
  • +0/-0
[solved] Re: Subdomain pointing to an external website
« Reply #4 on: March 23, 2011, 05:21:29 PM »
Hi,

Is there a way of setting up so I have a subdomain of my website to point to another website (controlled by somebody else). I have already setup the cname for the alias and from outside, it works. subdomain.hostone.com --> subdomain.hosttwo.com

The problem is when I'm within the network it doesn't work. The SME does the DNS. How to I add the cname to the internal DNS?

Any suggestion?

Thanks

creating a cname in tinydns is described at: http://forums.contribs.org/index.php?topic=37583.0

and it works.