Networking Forums

Networking Forums > Computer Networking > Windows Networking > NEED help with DNS / IIS Please

Reply
Thread Tools Display Modes

NEED help with DNS / IIS Please

 
 
jody.nospam.sedrick@mobiledataforce.com
Guest
Posts: n/a

 
      06-04-2004, 07:44 PM
We just switched from hosting our own website to a hosted
service. I've created a host name record that when
someone internally types www.domain.com it goes out to
our website instead of hitting the one on our old server.

I know need to have the old server act as a testing
server. I created a new host record www3.domain.com. But
when I try to access it it goes to the wrong folder in my
inetpub directory.

Also if I try to go to the website
by //servername/webfolder/index.html I can access the
main index page but then when I try to go
to //servername/webfolder/testfolder I get a "Directory
Listing error"

Your help is really appreciated.
Jody
 
Reply With Quote
 
 
 
 
Phillip Windell
Guest
Posts: n/a

 
      06-04-2004, 08:40 PM
Go to the Properties of the particular site in IIS and set the Home
Directory to what you want it to be. If there is more than one site and the
machine has multiple IP#s then make sure the particular site is set to the
right IP# in the General (Web site) Properties.

If you are going to the main root of the site you should never have to
include a folder name or any file name, that is why you want the Home
Directory setting pointing to the right "starting point".

You also want to set the Documents setting to be correct. You can list any
files here and it will try them in the order they are listed when there is
no filename given in the URL. You list may look similar to:

Default.asp
Index.asp
Default.htm
Index.htm
Default.html
Index.html

You can make them whatever you want and and adjust the order around,... it
will take them in order from the top down until if finds a match. If it
does not find a match in the folder then it will attempt "directory
browsing" mode. If directory browsing isn't allowed you will then get a
"directory listing" or a "browsing not allowed" error.

You can even have a distinct "Documents" setting for every subfolder in the
site as well if you want to. You can also turn Directory Browsing on or off
separately for each subfolder as well.

--

Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com


"(E-Mail Removed)"
<(E-Mail Removed)> wrote in message
news:186ee01c44a6c$6b2a3c70$(E-Mail Removed)...
> We just switched from hosting our own website to a hosted
> service. I've created a host name record that when
> someone internally types www.domain.com it goes out to
> our website instead of hitting the one on our old server.
>
> I know need to have the old server act as a testing
> server. I created a new host record www3.domain.com. But
> when I try to access it it goes to the wrong folder in my
> inetpub directory.
>
> Also if I try to go to the website
> by //servername/webfolder/index.html I can access the
> main index page but then when I try to go
> to //servername/webfolder/testfolder I get a "Directory
> Listing error"
>
> Your help is really appreciated.
> Jody



 
Reply With Quote
 
Jeff Cochran
Guest
Posts: n/a

 
      06-04-2004, 10:31 PM
On Fri, 4 Jun 2004 12:44:58 -0700,
"(E-Mail Removed)"
<(E-Mail Removed)> wrote:

>We just switched from hosting our own website to a hosted
>service. I've created a host name record that when
>someone internally types www.domain.com it goes out to
>our website instead of hitting the one on our old server.
>
>I know need to have the old server act as a testing
>server. I created a new host record www3.domain.com. But
>when I try to access it it goes to the wrong folder in my
>inetpub directory.
>
>Also if I try to go to the website
>by //servername/webfolder/index.html I can access the
>main index page but then when I try to go
>to //servername/webfolder/testfolder I get a "Directory
>Listing error"


These are IIS issues, not DNS issues. Repost in the IIS group.

Jeff
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




1 2 3 4 5 6 7 8 9 10 11