Solved

How to Setup more than 1 website on 1 IP address

Posted on 2010-11-09
2
284 Views
Last Modified: 2012-08-13
With my Simple Control Panel I have 1 IP address I would like to host more than 1 website from that IP address how is this possible?  How would I set it up in Simple Control Panel?  It's a linux server running CentOS.
0
Comment
Question by:N R
[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 Comments
 
LVL 17

Expert Comment

by:StrifeJester
ID: 34094782
You would have to do header inspection.  This will allow the server to look into the headers and get the domain out of them and then it can forward it properly to the right host.  Not sure 100% on how to do this with you current software but searching for header inspection may help.

http://products.secureserver.net/products/simplecontrolpanel12/sia/domains.htm

It sounds like the software already has this feature just adding the domains should be enough.  Then you would just use a different home directory for each domain.  When you setup DNS use the IP Address from the server and Simple Control Panel it appears from my brief research will inspect the header in the packet and handle the routing.
0
 
LVL 11

Accepted Solution

by:
jgiordano earned 500 total points
ID: 34095259
It is incredibly easy to do using apache/httpd and virtual hosts

http://httpd.apache.org/docs/1.3/vhosts/
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Suggested Courses

737 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