• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

multiple domain names to point to one domain name?

Originally posted by: kevin000
MyDomain.com offers a free URL redirection service. Its the no-brainer approach... 🙂

thanx for that heads up.
besides mydomain.com's service.... there must be a way to use bind or apache config file to get this done...
any ideas? anyone?
 
Set each domain's A record to point to the same IP. On that host have Apache handle virtual hosts for each of those domains and just have the 'extra' domains redirect you to the 'dominant' one instead of having a DocumentRoot of their own.
 
Originally posted by: Nothinman
Set each domain's A record to point to the same IP. On that host have Apache handle virtual hosts for each of those domains and just have the 'extra' domains redirect you to the 'dominant' one instead of having a DocumentRoot of their own.

thanx for that info nothinman.

what would the virtualhost looklike to redirect?

is there a special directive that redirects?
or is

<VirtualHost *>
DocumentRoot http://www.abcd.com
ServerName www.abcd.org
</VirtualHost>

enough?

thanx for your input on this.
 
DocumentRoot is only for local paths, I believe the keyword is Redirect although I'm not 100% sure because I don't have my box infront of me.
 
Originally posted by: Nothinman
DocumentRoot is only for local paths, I believe the keyword is Redirect although I'm not 100% sure because I don't have my box infront of me.

i tried redirect as such

<VirtualHost *>
DocumentRoot /var/www/html
ServerName www.abcd.com
</VirtualHost>

<VirtualHost *>
DocumentRoot /var/www/html
ServerName www.abcd.org
Redirect / http://www.abcd.com
</VirtualHost>

however this does not redirect entire site. meaning.
it will take http://www.abcd.org to http://www.abcd.com ...
but it won't take http://www.abcd.org/page2.htm to http://www.abcd.com/page2.htm

is there a way to set up a redirect regardless of which page it's requesting?

thanx a bunch.
 
Leave out DocumentRoot for the vhosts that don't need one.

You could setup a custom 404 page for those vhosts that redirects them to the .com domain...
 
Back
Top