Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am setting up a Magento Multi-Site/Multi-Store structure and the way it works is it sets an environmental variable depending on which domain it is on (distinguishes store); so basically all the domains are pointed to the same directory. The trouble is I need each site domain to use a different IP address for other purposes. I will also needs to install SSL for each store. Does anyone know if this is possible and how I would go about doing this?

If it is any helps the server is Apache 2.2 and its a WHM/cPanel setup.

Thanks

share|improve this question

1 Answer 1

up vote 2 down vote accepted

What you want is called Virtual Hosts. It can be used to give each IP/port a seperate site, including SSL certificate, WWWRoot, etc.


--Christopher Karel

share|improve this answer
    
Yes I understand that but they need to share the same WWWRoot. –  Darren Aug 30 '10 at 19:41
    
I don't see why you can't just assign the same WWWRoot to each. –  Christopher Karel Aug 30 '10 at 20:06
    
Hi you are right, thanks. It worked :). –  Darren Aug 30 '10 at 21:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.