Re: How to setup IIS with a permanant URL in the intranet?
am 01.04.2008 10:21:18 von freaky
simonseah@gmail.com wrote:
> I would like to host up a page which I created using ASP.
> Currently, It actually display the url path as \\localhost\main.htm
> I would like the url will be shown as www.main.com
> Please guide me how?
Doesn't seem to me like you're using IIS at all... \\localhost is a
network path and a bad one at that as you don't use a share, which is...
strange.
You'd need to setup IIS and point the DNS record of www.main.com to the
IIS server. If you host only 1 site on it all would be fine, if you host
multiple sites on it just create a new one and enter the URL.
Re: How to setup IIS with a permanant URL in the intranet?
am 01.04.2008 19:16:35 von Kristofer Gafvert
Hello,
Do you mean that you currently use http://localhost/main.htm, or truly
\\localhost\main.htm? The latter does not use IIS, and that is why i am
asking.
If you want to use www.main.com, you need to set that domain name up in your
local DNS server (i assume you have one). Point the domain name to the
webserver, and it should work, unless you have a non-default configuration
of IIS.
--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info
skrev i meddelandet
news:3a9da76f-5849-4542-9525-2cffec1d8be9@c26g2000prf.google groups.com...
>I would like to host up a page which I created using ASP.
> Currently, It actually display the url path as \\localhost\main.htm
> I would like the url will be shown as www.main.com
> Please guide me how?