Barka
Barka

Reputation: 8932

how to setup a subdomain in IIS7

I have my actual site running on one physical server using IIS7 and ASP.NET. I want to add the images.mysite.com sub domain on that same server pointing to C:\MyImages folder where all my product images are.

Using IIS Management Studio I right clicked the site node, then clicked add website. entered ImageServer as my site name, set C:\MyImages as my physical path, and set image.mysite.com as my host name.

However, when I type images.mysite.com/myfirstimage.jpg in a browser I get Firefox can't find the server at images.mysite.com.

What am I missing? What else needs to be done? I called my DNS registrar and they said I do not need to register subdomains with them.

Many thanks!

Upvotes: 0

Views: 6429

Answers (1)

ysrb
ysrb

Reputation: 6740

Make sure you add a A record in your DNS server. Try ping images.mysite.com and see if that's the IP you are expecting.

Upvotes: 3

Related Questions