IIS server URL question (Urgent please)

I have IIS web server and there is a friendly URL (DNS) too.

I access my application this way: http://cedat.mto.com/cedat or by http://10.22.182.4/cedat ..Each works.
Under IIS I have the following settings:
Virtual Directory:
Application name: CEDAT
Starting point: <Default Web Site>/CEDAT
Local Path: D:\SITES\FILES
etc.

All the .NET code related to the application are in the folder D:\SITES\FILES in the server. Everythimg works well if I try the URL http://cedat.mto.com/cedat but how can I make the URL http://cedat.mto.com/ to point to my application??

-tooki
tookiAsked:
Who is Participating?
 
Sam PanwarSr. Server AdministratorCommented:
Hi,

If you want to open the website through the IP address lke http://10.22.182.4/cedat
Then you have to assign dedictte ip for your website.
http://www.microsoft.com/windows2000/en/advanced/help/default.asp?url=/windows2000/en/advanced/help/ns_admin_tool_plwm.htm
IIS>website>select website>IP address

If you want to redirect your URL to the folder then


1. Through ASP redirect script : Create a HTTP ASP redirect script and upload on domain
'' as Index.asp.It will redirect your http request to domain 'softcomms.ae'.
Sample Script for redirect (make a index.asp file )

<%Response.Buffer = True %>
<%Response.Redirect "http://cedat.mto.com/cedat"%>

2. Through IIS host header: The Host header of the domain will be create through IIS you can redirect direct by IIS host header





0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.