Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: ElFroggio on March 23, 2011, 02:27:51 AM

Title: Subdomain pointing to an external website
Post by: ElFroggio 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
Title: Re: Subdomain pointing to an external website
Post by: CharlieBrady on March 23, 2011, 03:16:25 AM
Enter the hostname with external IP address via the Hostnames and Addresses panel.
Title: Re: Subdomain pointing to an external website
Post by: ElFroggio 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.
Title: Re: Subdomain pointing to an external website
Post by: crazybob on March 23, 2011, 11:37:22 AM
I do this now by setting the subdomain at my registrar.
Title: [solved] Re: Subdomain pointing to an external website
Post by: ElFroggio 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.