How to add a domain name manually from IIS
I assume you are trying to add a domain name manually from your Windows 2003 server IIS and all connections were already setup properly. All your clients can browse to your domain / IP but they were prompted for user name and password due to the permission was not setup properly.
Please follow steps below:
==================================
A) Create a web anonymous user
==================================- Log into Server
- Right click on "My Computer" > "Manage"
- Expand the computer management console:
- Local > Local Users and Groups > Users
- Right Click on "User" > "New User ..."
- Enter a user name; example: domain.com_web
- Enter a password for domain.com_web
- Click "Create"
- Close this console
==================================
B) Assign Folder Permissions
==================================- Right click on your web folders > "Properties"
exp: C:domainsdomain.comwww
- Click on "security tab"
- Click on "Add"
- Select the "domain.com_web" user you have just created and "Add", click "ok"
- Allow permissions below:
- Read & Execute
- List Folder Contents (optional)
- Read
- Click "Apply" and "Ok"
==================================
C) Add Virtual Directory / Domain in IIS
==================================- Open IIS console
- Right Click on "Local" (Your server name) > New > web site > Next
- Enter Description = domain.com > Next
- Enter the IP address to use for this web site
- TCP Port = 80
- Host Header for this site = leave blank if this is dedicated IP, otherwise enter "www.domain.com" > Next
- Path = Your web folder path
- Exp: C:domainsdomain.comwww (The folder which we assign domain.com_web user to)
- Check "Allow Anonymous Access to this web site" > Next
- "Allow the following" = "Read" & "Run Scripts" > Next
- Finish
- Find the domain you have just added in IIS console and right click on the domain > Properties
- Click "Directory Security"
- Under "Anonymous Access & Security Control" click "Edit"
- Check "Anonymous Access" and click "Edit"
- Anonymous User > User Name = domain.com_web (the user you have created in section A above"
- Check "Allow IIS to control password
- Click "Ok"
- Under "Authenticated Access", check "Integrated Windows Authentication"
Amit Anand
Webhostie Technologies
Bookmarks