Web Hosting Talk







View Full Version : On W2K how 2 set Web site to be accessible as mydomain.com and www.mydomain.com


JWong
04-02-2002, 01:28 AM
I followed this guideline
http://dslwebserver.com/images/sbs-w2k-vir-server/13.gif
But it didn't seem to work....

Any Windows Expert here?

hotice007
04-02-2002, 04:20 AM
>Open up IIS console
>Right click on website you want to host the domain under
>Click on Properties
>Under Web Site tab, click on Advanced next to IP Address
>Click Add on the top box
>If the site won't be on a dedicated IP, leave it to "All unassigned"
>Put the port number (I always use 80)
>Put www.mydomain.com under Host Header Name
Keep adding more host names as much as you want it to respond to mydomain.com, lala.mydomain.com, dede.mydomain.com, etc...

kcoster
04-02-2002, 04:39 AM
Also remember to add the entries to your DNS to point to the IP :)

JWong
04-02-2002, 04:41 AM
will this become effective immediately... ?
casue as I stated above..

http://dslwebserver.com/images/sbs-w2k-vir-server/13.gif

It doesn't seem to work...

kcoster
04-02-2002, 04:44 AM
Pretty quickly depending on your DNS settings and ISP's cache etc, whats the domain I can try from here if you like ?

JWong
04-02-2002, 04:57 AM
Also remember to add the entries to your DNS to point to the IP

How do I do this... please tell me step by step...
Do they have W2K for dummies by the way
I might get a copy of those books

kcoster
04-02-2002, 05:10 AM
There is a step-by-step guide at http://www.dslwebserver.com/, who are you using for your DNS ?

JWong
04-02-2002, 05:36 AM
Yes.. I tried that as they suggested, but they didn't mentioned your part
which is adding entries to point to IP....

kcoster
04-02-2002, 05:39 AM
Are you using a DSL connection, do you have a Static IP or dynamic, how are you managing the domain's DNS ?

JWong
04-02-2002, 05:52 AM
I have 4 name servers
all registered the www.mydomain.com
is working just fine but not mydomain.com

Thanks for your help!

kcoster
04-02-2002, 05:58 AM
Right, you need to add a host (A) record for mydomain.com to point to the IP of your server.

So at the moment you have:

www.mydomain.com. 86400 A your ip

You need to add:

mydomain.com. 86400 A your ip

(or similar) :)

JWong
04-02-2002, 06:16 AM
You need to add:
mydomain.com. 86400 A your ip

How do I do this.... ?
.. You're the expert!! :blush:

kcoster
04-02-2002, 06:20 AM
You say www.mydomain.com works how did you set this up ?

JWong
04-02-2002, 06:42 AM
I use IIS and DNS manager to do it
in the forward zone I think... add new zone
yes that's it..

I also try this method

http://www.ntfaq.com/Articles/Index.cfm?ArticleID=13515

but ... as u know it doesn't work!
got msg saying not valid can't create PTR

kcoster
04-02-2002, 06:48 AM
Try that again but untick create associated PTR record.

JWong
04-02-2002, 06:56 AM
Yes.. it will give not valid host (same as parent folder)
create anyway?

kcoster
04-02-2002, 07:02 AM
Yes, also you could try putting the domain.com in ?

JWong
04-02-2002, 07:19 AM
You are not allowed to type "." in that field just names.. :(

kcoster
04-02-2002, 07:29 AM
So if you leave it blank and untick create associate PTR record and press Ok what happens ?

JWong
04-02-2002, 07:40 AM
not valid host (same as parent folder)
create anyway?

.....
Thanks for hanging in here :D

kcoster
04-02-2002, 07:42 AM
So if you press Yes does it create the entry ?

RackMy.com
04-02-2002, 11:28 AM
not valid host (same as parent folder)
create anyway?

Yes, it will give you an error. Just create it anyway and then update the zone file. That's it!

Hope that helps!

JWong
04-02-2002, 05:58 PM
Sigh...... well none of any suggested methods are working...
have to live with what we have I supposed... :(

kcoster
04-02-2002, 06:23 PM
What's the domain, then we can take a look at the DNS ?

JWong
04-03-2002, 12:26 AM
All DNS Entry are set up correctly
Is this something to do with having active directory installed?

RackMy.com
04-03-2002, 12:48 AM
Do you check your PMs or emails :) If you have TS installed, I would be more than happy to take a look.

JWong
04-03-2002, 01:07 AM
would be more than happy to take a look.

Yes Rackmy... I will set up a guest account for you later on tonight :)

kcoster
04-03-2002, 04:37 AM
I'll leave it to the pro's ;) Let me know what was the problem though, just out of curiousity :)

JWong
04-03-2002, 12:31 PM
HEY! People I sort it out now!!!!
Basically you have to add a new zone..... not new host

that's it.

kcoster
04-03-2002, 06:14 PM
Glad you got it sorted :) Weird eh !