Page 1 of 1

DNS web alias and pretty URLS

Posted: Fri Nov 14, 2008 10:22 am
by dpicon
Hi!!

I have just finished a site http://www.unjardinparami.es with CMSMS, as you can see I use pretty URLs, and everything works wonderfully.

The problem is that I want to redirect http://www.unjardinparami.com to the .es domain, so we can have two sites without having to mantain two copies of the cmsms files.

To give the idea of two different domains, we setup a "web alias" entry in the .com DNSs to point to the .es.

    unjardinparami.com   Web alias unjardinparami.es
www.unjardinparami.com Web alias unjardinparami.es

But when we access from www.unjardinparami.com the prettyURLs are gone. Actually the URL stays www.unjardinparami.com through all the pages.

Any idea how can I accomplish the desired result.

Thanks a lot!!!
David.

Re: DNS web alias and pretty URLS

Posted: Fri Nov 14, 2008 1:58 pm
by alby
dpicon wrote: To give the idea of two different domains, we setup a "web alias" entry in the .com DNSs to point to the .es.
No DNS hack but web server configuration hack ....
search for RedirectPermanent ....

Alby

Re: DNS web alias and pretty URLS

Posted: Fri Nov 14, 2008 7:54 pm
by Pierre M.
This is not CMSms specific. Talk with your DNS provider.

My domain and DNS provider redirects whatiwant.mydomain.tld1/xyz to www.mydomain.tld2/xyz

Pierre M.