Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old October 24th, 2008, 02:04 AM
Do Work Do Work is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2008
Location: New Jersey
Posts: 1 Do Work User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 52 sec
Reputation Power: 0
Question Host headers, multiple domain names one ip address

Hi everyone, I have been having a great deal of trouble trying to find information on my specific problem, i understand how host headers work and everything but my current problem rely's on search engines.

I have quite a few websites hosted from my home server, now as an example, i have two websites, completely unrelated hosted from the same IP address, now my question is how to i get one domain name to not point to the directory of the other domain name, i have tried creating multiple sites in IIS but each site needs its own port number, and everything needs to be on port 80 for obvious reasons. I have one site, (doworkstudios[dot]com) now the home directory points to (doworkstudios[dot]com)/studio on the other hand the other website i have hosted, (joeydspizza[dot]com) points to the directory ((joeydspizza[dot]com)/joeyds. My problem is, is that when google or other search engines crawl my server they like to use which ever domain name they want, you can see these problems by googling one of the domain names. the issue is obvious because i can access the studios webpage by typing in (joeydspizza[dot]com)/studio which is a problem. I want to know, and im sure there is, a way that i could prevent this from happening. I have searched all over the web and cant seem to find anything that has helped. If someone could provide me with some insight on what to do that would be greatly appreciated.
Thanks,
Chris

Sorry but it seems that due to spamming prevention i cannot post my links for exemplary purposes so please disregard the url formatting

Reply With Quote
  #2  
Old October 24th, 2008, 03:19 AM
icoombs's Avatar
icoombs icoombs is offline
Moderator
Click here for more information.
 
Join Date: Dec 2006
Location: West London, UK
Posts: 2,549 icoombs User rank is Lieutenant General (80000 - 90000 Reputation Level)icoombs User rank is Lieutenant General (80000 - 90000 Reputation Level)icoombs User rank is Lieutenant General (80000 - 90000 Reputation Level)icoombs User rank is Lieutenant General (80000 - 90000 Reputation Level)icoombs User rank is Lieutenant General (80000 - 90000 Reputation Level)icoombs User rank is Lieutenant General (80000 - 90000 Reputation Level)icoombs User rank is Lieutenant General (80000 - 90000 Reputation Level)icoombs User rank is Lieutenant General (80000 - 90000 Reputation Level)icoombs User rank is Lieutenant General (80000 - 90000 Reputation Level)icoombs User rank is Lieutenant General (80000 - 90000 Reputation Level)icoombs User rank is Lieutenant General (80000 - 90000 Reputation Level)icoombs User rank is Lieutenant General (80000 - 90000 Reputation Level)icoombs User rank is Lieutenant General (80000 - 90000 Reputation Level)icoombs User rank is Lieutenant General (80000 - 90000 Reputation Level)icoombs User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 1 Day 21 h 54 m 41 sec
Reputation Power: 896
Send a message via MSN to icoombs Send a message via Skype to icoombs
Hi and welcome to the forum.

The best option is to use separate websites on you server, don't just add them as folders and also set up host headers for both www and non www with the same server IP and Port (80) for all sites.

Then setup DNS on the server and add forward lookup Zones for each of the websites, again www and non www. In both the www and non www add an A record and point to the same IP address i.e. your web server.

Then on your domain host set up DNS to point to your external IP Address and on your Router point all port 80 access to your DNS Server.

Your DNS should then push any incoming requests to the web server which will then point it to the right web server based on the host header.

I don't know if this will work if you are only using forwarding from you domain host as i have only ever done it by setting up the DNS on my domain host.
__________________
Hope this advice helps.

If so please show your appreciation by adding reputation points (click gauge image on top right of this post).

- Post your code - Post your errors - Be clear - Be courteous -

AND PLEASE...Finalise your thread with a solution or confirmation that the last advice worked or failed.

Visit My ASP Free Members Club Profile

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > Host headers, multiple domain names one ip address


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump





 Free IT White Papers!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 



Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.


© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 9 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek