[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] .org = .com blues
Hi Charlie :),
Not sure if this is the best way to get around this and perhaps someone from
the list can tell us what is. Have you attempted to add both of these
domains to your server via the GUI and then later edit the httpd.conf file
and change the document root of www.domain.org to point to the document root
of www.domain.com
So if the document root of www.domain.com is in your httpd.conf DocumentRoot
/home/sites/site5/web and the document root of www.domain.org is
DocumentRoot /home/sites/site4/web, just make them both DocumentRoot
/home/sites/site5/web and this will work. We have done this with a few
domains without any problems even when making changes by adding sites with
the GUI.
You will also need to create the necessary A records and such for both of
these domains, just like you would for any other domain and remove the CNAME
record.
After making these changes, you will need to Restart server httpd by this
command /etc/rc.d/init.d/httpd.init restart
Hope this is the correct solution.
Best wishes,
Ali & Charlie
> -----Original Message-----
>
>
> Well, I screwed that all up. Last time I post while under the
> influence of
> Ny-quil.
>
> Lemme try that again:
>
>
> I have www.domain.com. I want ppl who type in www.domain.org (which is
> pointed at the same IP address) to see the content of www.domain.com
>
> I have set up the A record for www.domain.com and when I type it in the
> browser, it loads just peachy.
>
> I set up a CNAME to point www.domain.org to www.domain.com but when I type
> www.domain.org into my browser, I get a dns error.
>
> Any ideas? This is a raq2 I'm talkin' bout here.
>
>
> Charlie
>
>
>