Solved

Server multi domains

Posted on 2013-07-01
5
175 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Two nodes for updates and forwarding 8 51
AWS Advice on using WHM/cPanel 1 75
Webserver access problem 5 73
Web server settings related to keepalive 1 120
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

776 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