Forums / Developer / How would be able to set up a virtualhost method with IIS7

How would be able to set up a virtualhost method with IIS7

Author Message

Romeo Antony

Tuesday 10 August 2010 6:36:14 am

Hi, i have seen ez documentation about setting up virtualhost method in ez and by configuring apache. But anyone know how to set up virualhost using iis 7.

Romeo Antony

Tuesday 10 August 2010 8:24:51 am

Hi, I have developed an entire site in ez using uri method. But when i need to put into production environment , i would like to use virtualhost setup becuase of security issues. But I am using IIS7 , windows server 2008, php fast cgi.

I have seen how to set up virtual host using apache from documentation(in file http.conf).

But do not know how to set up a virtualhost for IIS. Can anyone help me please .Plz Romeo.

Robin Muilwijk

Tuesday 10 August 2010 11:10:08 am

Hi Romeo,

From what I can find, IIS does of course not have virtual hosts as on Linux, but something similar (serving several sites on one IP address) can be done with host headers. See http://www.visualwin.com/host-header/

Hope that link is of some value and can help you continue your live/online setup.

Regards Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Romeo Antony

Tuesday 10 August 2010 11:52:07 am

Thank you for your reply Robin. I got it. That means after I do this site will be like secure as it is in virtualhost setup,

Robin Muilwijk

Tuesday 10 August 2010 12:11:14 pm

I'm not sure how security compares, you might want to google on that.

-- Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Romeo Antony

Wednesday 11 August 2010 12:17:25 am

Thank you Robin. I will research on it. thanks a lot. Romeo.

André R.

Wednesday 11 August 2010 2:43:23 am

Did you find a soulution for rewrite rules? I guess this is what you should be asking for.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Romeo Antony

Wednesday 11 August 2010 4:42:49 am

Thank you for your reply Andre. I have read rewrite rules. But I am not well aware of it.

I have also gone through the link provided by Robin in above reply. it is about host headers . How to set up host headers in IIS 7. I got some basic knowledge about how to set up host headers in IIS7 within a single ip address. So I hope in this way I can set up a virtualhost in IIS 7. I have read a lot through the forums .But everywhere I seen about setting up virtual host in apache. Nwhere found about IIS.

But still I am confused about the way ez handle security that means after I use host headers , I think it will be like a virtualhost set up. isn't Andre.

My major concern is security with ez site. and it should be most secure . Can u please tell me should I prefer rewrite rules or host headers? And is there is big difference between both of these.

In ez poni of view , what would be better .

Any idea will be really helpfull. Romeo.