ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old October 22nd, 2003, 06:24 AM
sumicooldude sumicooldude is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 48 sumicooldude User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m 59 sec
Reputation Power: 8
Web Server

Dear Members,

first of all i wud say sorry as i cud not find the IIS forum so am posting my question here.

now the question is i have Windows 2000 Server & i have IIS installed on it, now if i create my new Web Site i assign a new unique IP address to my server so that it can host the new site, till here no problem

the problem is i can access the intranet site by the IP address (ie http://192.168.0.100/) only & am not able to give it a name like www.mycompany.com or something else mayb

can u plz suggest how to change the IP address to a meaningful name

thnx in advance
Sumeet

Reply With Quote
  #2  
Old October 22nd, 2003, 09:50 AM
digitallysmooth digitallysmooth is offline
you know how we do
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jun 2002
Posts: 788 digitallysmooth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 34 m 21 sec
Reputation Power: 8
If you want visitors from outside your local LAN to be able to use the Url www.mycompany.com you would do the following:

1. Find your public IP Address (assuming you are behind a router/NAT)
2. Setup a DNS A Record in your mycompany.com zone pointing to your public IP Address.
3. Create a cname from mycompany.com => www.mycompany.com
4. In IIS create host headers for your IP address to mycompany.com and www.mycompany.com
You should also create a blank host header for that IP address if you want this to be the default site that is shown if you browse using the IP address only.


Now, if you are simply looking to browse to www.mycompany.com from inside your LAN (or your local machine), just add a record to your hosts file. You are on Windows 2000 so in notepad open this file:

c:\winnt\system32\drivers\etc\hosts

In the first column add the IP Address and in the second column add the domain. For example:

192.168.0.100 mycompany.com
192.168.0.100 www.mycompany.com
__________________
__________________________________________________ _
Wil Moore III, MCP | Integrations Specialist | Senior Consultant
Are You Listed...? | DigitallySmooth Inc.

Reply With Quote
  #3  
Old October 22nd, 2003, 09:13 PM
sumicooldude sumicooldude is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 48 sumicooldude User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m 59 sec
Reputation Power: 8
well it worked but the problem is it only works on the server machine but on the client machines it shows the message that the page cannot be displayed.

wat probably cud b the problem???

Reply With Quote
  #4  
Old October 22nd, 2003, 11:34 PM
digitallysmooth digitallysmooth is offline
you know how we do
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jun 2002
Posts: 788 digitallysmooth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 34 m 21 sec
Reputation Power: 8
You have a couple choices:

1. If you have a public dns server add a zone for www.mycompany.com

2. You can copy the modified hosts file to the other machines

3. You can run DNS on windows only for your Local Lan.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingASP Development > Web Server


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.

Request Your Free Technology Downloads!
 
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.

Request Your Free Technology Downloads!
 
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.

Request Your Free Technology Downloads!
 
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.

Request Your Free Technology Downloads!
 
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.

Request Your Free Technology Downloads!
 

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




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