Solved

Server multi domains

Posted on 2013-07-01
5
174 Views
Last Modified: 2013-07-03
Hi,
How to set up a  server that have 1 IP to host many websites with different domains or sub-domain names?
tks
0
Comment
Question by:PM150
  • 2
  • 2
5 Comments
 
LVL 95

Expert Comment

by:Lee W, MVP
ID: 39290360
On what operating system and what web server?  Windows?  Linux?  Mac?  Apache?  IIS?  Something else?
0
 
LVL 26

Expert Comment

by:skullnobrains
ID: 39292280
you would use "name based virtualhosting" or "virtual server"

the way to set it up will vary depending on the server

the principle is always the same, the server loads a site depending on the HOST: header sent by the client

beware you cannot host multiple SSL sites in this way unless you use a specific certificate that works for several domains since the server would need to know which certificate to send before it knows about the header
0
 

Author Comment

by:PM150
ID: 39293963
Forgot: windows server. How to set that header? In IIS properties?
0
 
LVL 95

Accepted Solution

by:
Lee W, MVP earned 130 total points
ID: 39294266
You setup Host Headers in IIS - Reference http://technet.microsoft.com/en-us/library/cc753195(v=ws.10).aspx
0
 
LVL 26

Assisted Solution

by:skullnobrains
skullnobrains earned 120 total points
ID: 39296749
the host header is sent by the client (see my previous post). you setup IIS to respond according to it.

http://support.simpledns.com/KB/a82/virtual-hosting-with-iis-internet-information-services.aspx
look at the screenshots from this link or the one provided by @leew : this is pretty straightforwards even if you are using a different IIS version
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now