twitter




Sunday, May 23, 2010

Detailed explanation of how to make sub-domains?

How would i put a file e.g. hello.htm in a sub domain on my site so it looks like:



www.mysite.com/hello



instead of



www.mysite.com/hello.htm



My host (go daddy) says i can have several sub domains



How would i do this?



Detailed explanation of how to make sub-domains?





Sub-domains are referenced to the right of your main domain name. You registered with go daddy a domain mysite.com and at the same time created a sub-domain www.mysite.com. You could (at least theoretically I don%26#039;t know go daddy%26#039;s limitations) create a hello.mysite.com as a different sub-domain. This site answers.yahoo.com is a sub-domain of the yahoo.com site.



Sub-domain%26#039;s can have separate IP addresses, and/or can be redirected to different directories by your webservices on your server.



To implement what you describe is easy, and has nothing to do with sub-domains.



1) You create a folder %26quot;hello%26quot; in your web-root directory.



2) You copy hello.htm + everything it references into that directory.



3) You rename hello.htm to be index.htm, or perhaps default.htm if you are using IIS as your webserver.

No comments:

Post a Comment