Two domain names maintaining in same Web Site

Posted on 2003-03-26
Medium Priority
Last Modified: 2010-05-18
Dear my Friends,

I donn't have extra IP address available to maintain my two domain names connected. Therefore, I have bound them on the same IP address via ISP. whereas I have come across that by having two virtual directories, it could possible.

Please do help me some who knows the technology of setting up two sites in one IP Address because I have not aware how to overcome this situation.

Thanks in advance
Have a nice day!!!!!
Question by:Prasanna_Vijith
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

Accepted Solution

timmyt851 earned 136 total points
ID: 8216186
Host headers is your answer. For web sites site1.com you would add host headers "site1.com" and "www.site1.com", and for site2.com you would add host headers "site2.com" and "www.site2.com". Leave the IPs to "All Unassigned" and port 80. Make sure DNS is pointing to your IP address for both domains.

Assisted Solution

heskyttberg earned 132 total points
ID: 8217482

How to do this is diffrent depending on the webserver you are using.

In Apache it's called virtual host.
In IIS you create a new site:
1. Choose create new web site.
2. Put in a description.
3. Choose the external IP.
4. Port 80.
5. In third field called host header put in www.mydomain1.com for first site.
6. Go through steps 1-5 again for second site but in host header put in www.mydomain2.com.

/Hans - Erik Skyttberg
LVL 15

Assisted Solution

periwinkle earned 132 total points
ID: 8227021
Do you maintain your web server configuration files, or does your host?  If your host does, then you'll need to ask them to set up the virtual domain for you...

Featured Post

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

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

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…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month11 days, 16 hours left to enroll

752 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