Loans - Web directory - Mortgages - Loans - Debt Consolidation

PDA

View Full Version : Domain aliasing with different ip addresses


HotSauce
May 17th 2007, 9:26 am
Hi everyone.. I'm trying to accomplish something, but unsure if it's possbile:

I have a dedicated server with two domains setup, domain A and domain B. I have two ip addresses available. domain A is setup with an ip addresses. I wan't domain B to have a different ip address but be an alias to domain A. So if the user enteres domain B on their browser, they are really aliasing domain A--however if they ping domain A and domian B, they would get two different ip addresses. Is this possible?

I've been trying to get this to work for a while, but have been unsuccessful. Any help would be greatly appreciated. Thanks!

Davidj
May 21st 2007, 11:09 pm
It's possible & very easy.
Just setup the additional IP within the domain's apache virtualhost entry.

Then you can just change the root folder to point to the other domains' ;)

HotSauce
May 22nd 2007, 6:46 pm
It's possible & very easy.
Just setup the additional IP within the domain's apache virtualhost entry.

Then you can just change the root folder to point to the other domains' ;)

Thanks David... I eventually figured it out :)