Solved

Server multi domains

Posted on 2013-07-01
5
173 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
Comment Utility
On what operating system and what web server?  Windows?  Linux?  Mac?  Apache?  IIS?  Something else?
0
 
LVL 26

Expert Comment

by:skullnobrains
Comment Utility
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
Comment Utility
Forgot: windows server. How to set that header? In IIS properties?
0
 
LVL 95

Accepted Solution

by:
Lee W, MVP earned 130 total points
Comment Utility
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
Comment Utility
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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

763 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

11 Experts available now in Live!

Get 1:1 Help Now