Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: newburns on May 29, 2013, 12:50:59 AM

Title: CNAME to a different IBAY?
Post by: newburns on May 29, 2013, 12:50:59 AM
Can a CNAME point to a different iBay??

example

Domain mtrosemedia.tk points to Primary
CNAME cdn.mtrosemedia.tk need to point to CDN IBAY

Any way to do this? Will I have to resort to an additional domain name?

Reason for doing this is for faster load times on hosted websites through Wordpress MU. Browser can load 8 objects simultaneously per URL. Having an additional URL load content allows for 16 objects at once (Technically speaking).
Title: Re: CNAME to a different IBAY?
Post by: CharlieBrady on May 29, 2013, 04:44:40 AM
Can a CNAME point to a different iBay??

A CNAME can only point to a FQDN (in DNS).

Quote
Domain mtrosemedia.tk points to Primary
CNAME cdn.mtrosemedia.tk need to point to CDN IBAY

You can have an entry cdn.mtrosemedia.tk  in the domains db, via the domains server-manager panel, which maps to the CDN i-bay. You can then set up cdm.mtrosemedia.tk in DNS as either an A record or a CNAME record what maps back to the IP address of mtrosemedia.tk. But I'm not sure why you are asking me this, since you could have just tried it.

Title: Re: CNAME to a different IBAY?
Post by: newburns on May 29, 2013, 06:40:54 AM
I asked because I'm stuck.
Currently:
A Record for cdn.mtrosemedia.tk
Domain set in Server-manager for cdn.mtrosemedia.tk

whenever I go to cdn.mtrosemedia.tk, it redirects to mtrosemedia.tk
Title: Re: CNAME to a different IBAY?
Post by: mmccarn on May 29, 2013, 01:39:55 PM
If cdn.mtrosemedia.tk is serving a copy of the wordpress site at mtrosemedia.tk, you may need to change the site location settings within Wordpress to prevent redirection.

On my SME 8, virtual domains serving ibay content look like this:
Code: [Select]
db domains show testsite.mydomain.com
testsite.mydomain.com=domain
    Content=testibay
    Description=testsite.mydomain.com
    Nameservers=localhost
Title: Re: CNAME to a different IBAY?
Post by: newburns on May 30, 2013, 05:33:31 AM
My settings are as such.
All other CNAMES or Domains work as advertised

Code: [Select]
mtrosemedia.tk=domain
    Content=mtrosemedia
    Description=Primary domain
    Nameservers=localhost
    Removable=no
    SystemPrimaryDomain=yes


cdn.mtrosemedia.tk=domain
    Content=cdn
    Description=Content Delivery Network System Site
    Nameservers=internet


mtrosecdn.tk=domain
    Content=cdn
    Description=mtrosemedia CDN Content
    Nameservers=localhost


hisproverbs1822.com=domain
    Content=mtrosemedia
    Description=Antoinette Burns Blog
    Nameservers=localhost

Everything works but cdn.mtrosemedia.tk
Title: Re: CNAME to a different IBAY?
Post by: Stefano on May 30, 2013, 12:14:47 PM
do you have a cdn host in hostname and adresses panel?