I'm about to install Umbraco on my local machine on IIS. Currently I run loads of classic ASP and a couple of .NET websites as virtual directories on my local machine, so I can develop/test etc. e.g. I browse to 'http://localhost/mytestdomain/' or 'http://localhost/anotherdomain'. If I install Umbraco, will it 'hijack' IIS so as to make these sites not work any more?
I won't be developing every new site in Umbraco, so I really only need it to be installed on particular domains.
Is this possible? Is it how it works anyway? If not, how to people go about this?
On what os are you? Are you on Xp? In that case, try using IISAdmin from jetstat.com which enables you to create multiple websites on your local pc. If using a later os, then there should be no issue creating a new website in IIS. Anyway, umbraco should be installed at the root of the website, not in a vir dir or subdirectory (installation will run smoothly, but you'll run into issues later on when working with the admin backend)
Yes it's entirely possible, I usually create a a single website for all my testing / develop websites in IIS7, and then edit my hosts file to have entries for the different domains hosted on IIS7, this removes the need for virtual dirs, which Umbraco doesn't support.
So make a directory for your umbraco solution, copy in the necessary files, create a website in IIS7 that has the created dir as root dir, and make the website use your preferred domain name like mydomain.local.
Then add the following entry to your hosts file and youre off:
Create a new website in IIS and assign a hostheader to it. Then add the same to your c:\windows\system32\drivers\etc\hosts file (or to your DNS server if you prefer). That way you can access your site at http://hostheadername.example.com/
With Vista you can create as many sites as you like, each with their own domain or hostheader. You can then install as many copies of umbraco as you like without disturbing those you've already got running on 'localhost'.
Tons of info via google on setting up websites, hostheaders, etc. in IIS and Vista. That part isn't related to umbraco specifically.
Run umbraco and non-umbraco sites in IIS
Hi,
I'm about to install Umbraco on my local machine on IIS. Currently I run loads of classic ASP and a couple of .NET websites as virtual directories on my local machine, so I can develop/test etc. e.g. I browse to 'http://localhost/mytestdomain/' or 'http://localhost/anotherdomain'. If I install Umbraco, will it 'hijack' IIS so as to make these sites not work any more?
I won't be developing every new site in Umbraco, so I really only need it to be installed on particular domains.
Is this possible? Is it how it works anyway? If not, how to people go about this?
Thanks all...
Hi Dan,
On what os are you? Are you on Xp? In that case, try using IISAdmin from jetstat.com which enables you to create multiple websites on your local pc. If using a later os, then there should be no issue creating a new website in IIS. Anyway, umbraco should be installed at the root of the website, not in a vir dir or subdirectory (installation will run smoothly, but you'll run into issues later on when working with the admin backend)
Cheers,
/Dirk
Thanks Dirk,
I'm on Vista, IIS 7. So does this mean I can run Umbraco on just one of the domains without affecting the other domains which are currently set up?
Yes, you definately can. Just create a completely new website (not a virtual directory) and install Umbraco there.
If you need more "domain names", just enter them in your hosts file like this:
When creating the new website, use the name you used in your hosts file to create the new site.
Hi Dan
Yes it's entirely possible, I usually create a a single website for all my testing / develop websites in IIS7, and then edit my hosts file to have entries for the different domains hosted on IIS7, this removes the need for virtual dirs, which Umbraco doesn't support.
So make a directory for your umbraco solution, copy in the necessary files, create a website in IIS7 that has the created dir as root dir, and make the website use your preferred domain name like mydomain.local.
Then add the following entry to your hosts file and youre off:
127.0.0.1 mydomain.local
Regards
.Hauge
Create a new website in IIS and assign a hostheader to it. Then add the same to your c:\windows\system32\drivers\etc\hosts file (or to your DNS server if you prefer). That way you can access your site at http://hostheadername.example.com/
With Vista you can create as many sites as you like, each with their own domain or hostheader. You can then install as many copies of umbraco as you like without disturbing those you've already got running on 'localhost'.
Tons of info via google on setting up websites, hostheaders, etc. in IIS and Vista. That part isn't related to umbraco specifically.
cheers,
doug.
Dan,
Instead of creating a new web yourself, let web pi for umbraco do this one for you. Beware of this remark tho (also counts for non win2008 server os)
And indeed, as others have said before, just make some minor changes to your hosts file to be able to browse the site on your vista box.
is working on a reply...