| | |
url help
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
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......
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...tml#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
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...tml#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
![]() |
Similar Threads
- Save Time and Effort in Typing URL Addresses (Windows tips 'n' tweaks)
- How to keep new URL's on top?? (Web Browsers)
- URL changing (Linux Servers and Apache)
- IE Cache not deleting a URL (Web Browsers)
- URL Changes!! (Web Browsers)
- IE URL Suffix (Web Browsers)
- url redirects to yahoo.com (Windows NT / 2000 / XP)
Other Threads in the PHP Forum
- Previous Thread: how to create a members area with the following features
- Next Thread: beginner question
| Thread Tools | Search this Thread |
advanced ajax apache api array basics beginner binary broken cakephp check checkbox class cms code combobox cookies cron curl database date datepart display dynamic echo email error file files folder form forms function functions google head href htaccess html image include includingmysecondfileinthechain insert integration ip java javascript job joomla js limit link login loop mail menu mlm multiple mysql oop parse password paypal pdf php problem procedure query radio random recursion regex remote script search server sessions smarty smash sms soap source space sql stored syntax system table traffic tutorial unicode update upload url validator variable video web xml youtube





