Link to home
Start Free TrialLog in
Avatar of allanmayberry
allanmayberry

asked on

Apache Server with multiple IPs

I have an apache server set up and running.  Currently it is hosting two websites on one IP address and I want to set up another website using a seperate IP (the reason for this is that the new website must be secure)  I have been able to set up the new site securely on a test server but need some help in splitting the IP's using apache so that everything works properly as I dont really know where to go with this one?
Avatar of experteez
experteez
Flag of Netherlands image

Do you have 2 public IP addresses or are these private ip addresses?
Avatar of allanmayberry
allanmayberry

ASKER

I have 2 public IP addresses.  One of them currently hosts two websites and is working fine - so i dont want to touch these if possible.  The second IP has just been purchased and is where I want to host this secured site.  Thanks
SOLUTION
Avatar of tmaleshafske
tmaleshafske
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I've tried what you suggested but I can't seem to get it working??  Initially i can just get the second IP address to be recoginised that would be a start, but I've tried everything and cant figure it out.  Im trying, at the moment, just to assign a website to my second IP address but it doesnt seem to work, the connection just keeps timing out.

I've even tried just changing the IP address to use the new one in place of my existing one to see if I can get it working but nothing.  The IP is working as I can ping it from the command line - and when looking in IIS (IIS is not running btw so it is not causing any conflicts or anything, just handy to check bits and pieces) the secondary IP is availible for selection.

Im stumped!!!???
Could you post the output of your vhost.conf and your port.conf
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial