Solved

Server multi domains

Posted on 2013-07-01
5
177 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 96

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 27

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 96

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 27

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Suggested Courses

738 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