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......

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.
http://httpd.apache.org/docs/2.2/mod/core.html#servername


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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.