hostheaders

How can I access a website configured with host headers in IIS on the local machine?

When using host headers to host multiple websites on the same IP address in IIS, is there any way of accessing that website from a browser running on the local machine? This is normally required when a given web component only allows configuration from the local machine. It's also useful when things like ASP.Net's built in error handlin...

Publishing multiple sites on a single instance of umbraco

I am looking to setup a parallel site to one already that already uses umbraco for its content management system. The new site would share admins, templates, macros, and media resources, but not any content. If I setup multiple host headers pointing to the same directory with an umbraco install, how can I switch the top node (home vs h...

How can you load balance an IIS 6 hosted WCF Service?

We use BigIP to load balance between our two IIS servers. We recently deployed a WCF service hosted on by IIS 6 onto these two Windows Server 2003R2 servers. Each server is configured with two host headers: one for the load balancer address, and then a second host header that points only to that server. That way we can reference a sp...

Using IP Addresses or Host Headers in IIS

I was wondering about the best practices regarding this? I know there are two ways to use IIS and host multiple websites. The first is to have an IP for every website The second is to use host headers, and a single IP Address for IIS I was wondering which was the best practice, and why one should be preferred over the other? Thank...

IIS 6, tool to copy all site host headers?

I have a Server 2003 box with about 6 sites that each have about 15-20 host headers. Is there a tool out there that will copy all the host header records and automatically move them to the new server so I don't have to manually enter each host header again in the new server? Thanks. ...

Hosting Multiple Domains on Same Server Port with Apache2

How do I configure Apache2 via webmin or command-line (I'm using RHEL5 Linux) so that I can have multiple domains on the same server on the same port but in different subdirectories? For instance, trying to get homerentals.ws and homerepair.ws to be detected on port 80 (default port) on the same server. I know that my DNS holds the two ...

How do I fill in the Interner Server Certificate request form in IIS7?

I'm requesting my first SSL certificate for one of a pair of test servers (2008 R2, IIS7). Our CA is not part of AD so I've worked out that I need to do the 'request an Internet certificate'. That link isn't very helpful, though, because it doesn't tell you what to put in the boxes. I'm pretty sure I'm okay with everything except the ...

Can I use host headers for an SSL site?

I want to apply a certificate to one of my sites on IIS. At the moment, I use a single IP address and use host-headers, to give them friendly names. Can I do this for my SSL site or do I have to use the server name? ...

How can I change the IP address of all sites in IIS6 using powershell 1.0?

Using Powershell 1.0 under Windows Server 2003 with IIS 6. I have about 200 sites that I would like to change the IP address for (as listed in the website properties on the "website" tab in the "Web site identification" section "IP address" field. I found this code: $site = [adsi]"IIS://localhost/w3svc/$siteid" $site.ServerBindings.In...

Can I get the webServer's name when a host header is set (IIS, asp.Net)

Hi, Is it possible to find what the Web Server's name is when the host header is set to something else in an asp.net web app? Environment is a company intranet, Windows 2003 server (IIS 6). e.g. the host header may be set to myApp.company.com and the servers name might be webAppServer1.company.com or webAppServer2.company.com Usi...

Get original HOST address when the ASP.NET server is behind an ISA server as a reverse proxy

I'd like to know how could I get the original HOST IP when the web server is behind an ISA server acting as a reverse proxy. Other reverse proxies -like squid- add the "X_FORWARDED_FOR" value to the request header, but ISA server doesn't. Thanks ...

In ASP.NET, is it possible to output cache by host name? ie varybyhost or varbyhostheader?

Hi folks, I've got a website that has a number of host headers. Depending on the host header, the results are different - both visually (theme'd) and data. So lets imagine i have a website called 'Foo' - that returns search results (original, eh?). Now, the same code runs both sites. It is physically the same server/website (using Hos...

Refactoring multiple instances of ecommerce software into single code base

Disclaimer, I am technical support and sysadmin for my company, not a developer. I'm not after the specifics, simply an idea if what I'd like to acheive is possible or not. We host hundreds of instances of our in-house classic ASP legacy ecommerce software application and due to countless customisations by clients and ourselves, version...

Access WCF Service by Host Name and IP

I have a WCF service that is load balanced on multiple boxes. We have setup host headers in IIS for the service website so that the host name, not the machine name, will show up in the WSDL (like this: http://forums.asp.net/p/1096811/1659596.aspx). Now we have a requirement that an internal process needs to be able to hit a page on eac...