Knowledgebase: Webserver
HOW TO: Add a domain name manually from IIS
Posted by on 31 January 2012 05:00 PM

How to add a domain name manually from IIS?

We assume you are trying to add a domain name manually from your Windows 2003 server IIS and all connections were already set up properly. All your clients can browse your domain / IP but they are asked for username and password because permission setting was not set up properly.

Please follow the steps below:
A) Create an anonymous web user
1. Log into Server
2. Right click on "My Computer" > "Manage"
3. Expand the computer management console:
    Local > Local Users and Groups > Users
4. Right Click on "User" > "New User ..."
5. Enter a user name; example: domain.com_web
6. Enter a password for domain.com_web
7. Click "Create"
8. Close this console

B) Assign Folder Permissions
1. Right click on your web folders > "Properties"
    exp: C:\domains\\www\
2. Click on "security tab"
3. Click on "Add"
4. Select the "domain.com_web" user you have just created and "Add", click "ok"
5. Allow permissions below:
    - Read & Execute
    - List Folder Contents (optional)
    - Read
6. Click "Apply" and "Ok"

C) Add Virtual Directory / Domain in IIS
1. Open IIS console
2. Right Click on "Local" (Your server name) > New > Web Site > Next
3. Enter Description = > Next
4. Enter the IP address to use for this web site
5. TCP Port = 80
6. Host Header for this site = leave blank if this is dedicated IP, otherwise enter "" > Next
7. Path = Your web folder path
    Exp: C:\domains\\www\ (The folder which we assign domain.com_web user to)
8. Check "Allow Anonymous Access to this web site" > Next
9. "Allow the following" = "Read" & "Run Scripts" > Next
10. Finish
11. Find the domain you have just added in IIS console and right click on the domain > Properties
12. Click "Directory Security"
13. Under "Anonymous Access & Security Control" click "Edit"
14. Check "Anonymous Access" and click "Edit"
15. Anonymous User > User Name = domain.com_web (the user you have created in the section above"
16. Check "Allow IIS to control password"
17. Click "Ok"
18. Under "Authenticated Access", check "Integrated Windows Authentication"
19. Click Ok,
20. Done!

Copyright © 1998 - 2021 Shinjiru International Inc. All Rights Reserved.