|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Struggling With IIS6 Configuration Of A Local Site Copy
Hi,
We have 5 web sites set up on a Windows 2003 server with IIS version 6.0. If I right click a web site and select browse, I get different results for each web site. We are hosting our own web sites and I notice that one particular web site has many identities with the same internal IP address. What I am trying to achieve is to copy the set up of one of the aforementioned sites so that I can manipulate files and test updates without affecting the live site. Good lad I hear you say! My problem is this: How do I know which URL to use? When I set up a site locally on my machine using IIS5 and Windows XP I set up a virtual directory and attach to http:\\Localhost\VirtualDirectory. I have no experience with IIS 6.0 and I have looked at the set up of the sites and I'm really struggling to grasp what is going on. Please would someone give me some pointers of how to set up my local copy of the web site and which URL I should use to connect. i.e. I guess there should be something I can attach to which would be HTTP://Localhost/<something here> If this is vague then I apologise but as I don't really understand what is going on it's difficult to provide the right information. Any help and pointers would be helpful and even if you advise one small step each time I respond that would be more than enough. You never know, I might even get so far and be able to run alone. Thanks in advance. Phil. |
|
#2
|
||||
|
||||
|
Copy the site into a folder inside your inetputb\wwwroot directory.
Make a virtual site, and point it to the directory with the files. Start the web service, and browse to http://localhost/site_directory.
__________________
Raid1 in XP Pro My open source projects: ------------------------ Blobber - Add images as blobs to SQL Server ------------------------ |
|
#3
|
|||
|
|||
|
I've copied the site into c:\Inetpub\wwwroot\Test.
In IIS6: I have right clicked "Web Sites" Clicked "New" Click Web Site Clicked Next Typed "Test" Clicked Next IP Address: Left as - (All Unassigned) TCP Port: Left as - 80 Host Header: Left as blank Click Next Clicked Browse Selected c:\Inetpub\wwwroot\Test Clicked OK Anonymous: Checked Clicked Next Read: Checked Run Scripts: Checked Execute: Checked Clicked: Next Clicked Finish Right clicked the new web site "Test" Selected Properties Selected the "Document" Tab Selected "Default.asp" Clicked "Move Up" until "Default.asp" is at the top of the list Clicked OK Created the document Default.asp with one line which is: Code:
<%Response.Write("Hello World!")%>
Clicked START Clicked RUN Typed "http://Localhost/Test" Click OK Received the error message: Quote:
???????????????? (Pleeeeeeeeasssssssse) |
|
#4
|
|||
|
|||
|
Someone must be able to help me with this. Please?
|
|
#5
|
||||
|
||||
|
Is ASP installed? Can you load a plain html page?
|
|
#6
|
|||
|
|||
|
We have other sites running which use HTML and ASP but they are using host headers. A link is below to show you another discussion. Thanks for responding and maybe a you will have a clearer picture of my problem if I see the link.
Another Thread Is Running Too. Naughty but necessary as IIS Help Seems To Be Very Limited! Thanks again. |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > Struggling With IIS6 Configuration Of A Local Site Copy |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|