HOW TO: Add a domain name manually from IIS

Last modified: February 10, 2020
You are here:
Estimated reading time: 1 min
How to add a domain name manually from IIS?

You are expected to manually add a domain name from your Windows 2003 IIS server and all links have already been correctly set up. Therefore, all your customers are able to browse your IP / domain, but the permissions setting is not correctly set to request a username and password.

Please follow the following steps:
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:domainsdomain.comwww
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:domainsdomain.comwww (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!

Was this article helpful?
Dislike 0
Views: 659