hey i dont know if this is the correct place to post this or not but can u tell me how to make a sub domain(if thats wat it is called) for eg::

if my domain is abc.com, then how do i make a sub domain like word.abc.com or anything.abc.com.........i hope u know wat i mean.......if anyone knows this plz tell me......

thx alot......

10 Years
Discussion Span
Last Post by FireNet

This is not the correct forum, but I don't see what the correct forum would be. Your issue would be a webserver-specific question--not a programming issue. HOWEVER, you could use PHP to redirect based on the URL...but I don't think that's what you are wanting.

What you want is normally configured in the web-server. For example, in Apache, you can create all the ServerName's you want and have each name (these could be subdomains) point to different web root directories.

You don't normally have to do anything DNS wise if you have your DNS configured to direct all traffic to your domain to your webserver. It is your webserver that will serve the different content depending on which subdomain was requested.

So go ask your question in the


If you have a domain on a web host goto your control panel in your hosting account and look for a button/link/panel titled subdomains. Most control panels would just have you enter the name of the subdomain and click ok to set one up.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.