How To Add A Domain Name Manually To IIS

We assume you are trying to add a domain name manually from your Windows 2000 / 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

1. Log into Server. If the server host at a data center, you can log in the server by RDP.
Log into Server

2. Right click on "My Computer" > "Manage"
Company Manager

3. Expand the computer management console:Local > Local Users and Groups > Users
New User

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"
User Information

8. Close this console

B) Assign Folder Permissions

Note: You should have created a folder that are included all web site files in a formarted place. eg: "c:\domians\domainname\wwwroot"

1. Right click on your web folders > "Properties" . eg: C:\domains\\wwwroot\
folders Properties

2. Click on "security tab"
folders 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 "Enable Anonymous Access" and click "Browse.."

15. Anonymous User > User Name = domain.com_web (the user you have created in section A above"

16. Check "Allow IIS to control password

17. Click "Ok"

18. Under "Authenticated Access", check "Integrated Windows Authentication"

19. Click Ok

20. Done!


Other Knowledgebase Articles

Free Shared Hosting

# of Domains: 1
# of SQL Server Databases: 1
Disk Space: 5GB
Bandwidth: Unmetered
SQL Server 2014
Monthly: $0.00
More Information About Free Shared SQL Hosting Plan

Free Hyper-V Server

Dedicated Memory:1GB
Disk Space: 25GB SSD
Bandwidth: Unmetered
Windows 2012 R2/2008 R2: Free
Monthly: $0.00
More Information About Free Windows Hyper-V Server

Dedicated SQL Server

CPU: Quad-Core Xeon X3440
Disk: 2x120GB SSD
Bandwidth: 100Mbps Unmetered
Windows 2012/2008: Free
Monthly: $79.00
More Information About Unlimited Dedicated SQL Server
SQL Server Hosting | ASP.NET Hosting | DotNetNuke Hosting | Windows VPS Hosting | Dedicated SQL Server Hosting | Dedicated Windows Server Hosting