Click here to Skip to main content
15,884,986 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

This is a noob question, for sure, but it's never come up. I've always had dedicated servers that were pre-configured and for intranet use only :S

So, I have just pushed a website to my clients UAT server. These guys have no local network so they can only access the machine via the internet.

I can get access to the server via the IP, but there is already another website running!

I need a way that I can have them access my website via that IP. Do I need to set it up as a virtual directory in the website that already exists?

Also: just to make this less simple, my site relies on subdomains for user protals (so admin.mysite.com and agent.mysite.com etc) How can I achieve this? I'm guessing I'll have to set up the bindings on the existing site?

Thanks, and sorry for the noob question :/

Andy
Posted
Updated 12-Jun-15 5:26am
v2
Comments
hypermellow 12-Jun-15 11:16am    
Hi, you can host multiple IIS sites on a single server/IP address, by not binding any of the sites to a single IP address, and by making sure you specify a different host header for each site.
Andy Lanng 12-Jun-15 11:20am    
ok. cool. Do you know of any further reading so I can make sense of that :Þ
Like I said, I really have never had to do this so I'm a proper n00b and I don't know any terminology :S
Thanks ^_^
hypermellow 12-Jun-15 11:23am    
It's really easy, and can all be done via the IIS Manager GUI. Here's a technet article with the steps.
https://technet.microsoft.com/en-us/library/cc753195%28WS.10%29.aspx
Andy Lanng 12-Jun-15 11:25am    
Awesome - Thanks ^_^
hypermellow 12-Jun-15 11:29am    
no problem, let me know how you get on?
... just make sure you get the correct hostheader(s) for your existing site setup before you add a new site. :-)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900