Solved

how to host website on win2k?

Posted on 2002-07-08
8
204 Views
Last Modified: 2010-05-18
my problem shouldn't be very difficult to answer for u guyz.

i have developed a website and want to configure it on a local win2k server first, so that it could be tested by other users, before it actually goes online.  right now i have put the root folder (let's call it "mywebsite") in c:\inetpub\wwwroot and using http://localhost/mywebsite.
but now i want it to host it as a separate website and map it with some IP address, hostheader name and all that stuff.  i surfed internet for this and got some instructions but somehow it didn't work. if someone out there could plz tell me , how do i do it, from scratch.

thanx
sandeep
0
Comment
Question by:sandeeptyagi
[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
  • 4
  • 2
  • 2
8 Comments
 

Expert Comment

by:rawling
ID: 7137630
Hi,
After going to properties of the default website, or whatever you have choosen, click the advanced button.

Here you can assign multiple identities for your website.
 

You can just use the servers ip address('s), and map different url's to it, (them)

What have you tried so far?



 
0
 

Author Comment

by:sandeeptyagi
ID: 7137676
well. i right clicked on my server's name in IIS , then new website, and gave 10.0.0.32 in IP address field. set the path  and followed all other instructions. after that i right clicked on the website and in properties and gave it a host name . but when i go to browse it, it says "page can't be displayed" or if i keep changes here and there it says "no web site is configured at this address".

i have tried to use it by that host header name and IP address too. no result. i have even stopped my default website and used port 80 with my site. but result is the same.

:(
sandeep
0
 

Expert Comment

by:rawling
ID: 7137694
10.0.0.32 is the servers IP?
You may want to start with just leaving the "All Unassigned" setting and getting it to work with a single ip and host headers first.
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

Author Comment

by:sandeeptyagi
ID: 7137726
my server's IP is 10.0.0.1  

i went to TCP/IP settings and added this new IP (10.0.0.32) from there.

and yes. i don't have any problems even if i can access my website by some host header.  i pinged this new IP. and it is working fine. but i am ready to forget IP thing for time being provided my hostheader starts working. that i can always do later. can u suggest me what do i do for only hostheader?

sandeep
0
 
LVL 17

Accepted Solution

by:
mikecr earned 50 total points
ID: 7138337
Your host header is not going to work because it has to be mapped in DNS. If you right click on the website that you created and click on the Advanced button under the Web Site tab, you can go in and give it www.mywebsite.com. This will be your host header. Next, you need to install the DNS service on your server, if you don't already have it installed, and you will create a forward lookup zone with a name that you make up like spiderman.com, or whatever the name of your website will be, without the www. Next, right click on the zone you created and choose New Host from the menu. Here you will put www and below add the IP address of 10.0.0.1. Next click on okay and you can also check the box to create a pointer record if you wish but this is not necessary. Once you have this all set up, go in and restart the DNS service to be on the safe side. Next, go to a DOS prompt and type ipconfig /flushdns to flush the local DNS cache. Now, as long as you have your website running, you should be able to go into your browser and type www.mywebsite.com and it should load your site. Keep in mind that the last portion of the DNS name, mywebsite.com, needs to be the exact name of the zone that you created in DNS.
0
 

Author Comment

by:sandeeptyagi
ID: 7142442
thanx mikecr

i followed ur instructions and it is working perfectly alright now. the only problem remained is i can't debug. it says "unable to start debugging on webserver.. make sure u r member of debugger users". now i don't think it has got anything to do with permissions , because i could debug my project in its previous location. what i feel is , there was some setting in "default website" that my subfolder was inheriting. and now i have to explicitly set it because now it is directly under webserver. just to tell u that i have got web.config file in the root folder and it has got that entry "debug = true".

i am accepting ur comment as an answer, as u have solved my problem. but plz see to it if  u could plz help me with debugger thing also.

thanx again
sandeep
0
 

Author Comment

by:sandeeptyagi
ID: 7142515
well.. well.. well.. it is a bug .

i visited this page

http://support.microsoft.com/search/preview.aspx?scid=kb;en-us;Q319842

and changed my IE security setting for Intenet region. and debugging has started.

0
 
LVL 17

Expert Comment

by:mikecr
ID: 7143061
Good job! If there is anything else that we can help you with, please stop back.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
This article describes how to import Lotus Notes Contacts into Outlook 2016, 2013, 2010 and 2007 etc. with a few manual steps. You can easily export and migrate Lotus Notes contacts into Microsoft Outlook without having to use any third party tools.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

624 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