943,699 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 921
  • PHP RSS
Dec 15th, 2007
0

url help

Expand Post »
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......
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
web_master is offline Offline
28 posts
since Aug 2007
Dec 16th, 2007
0

Re: url help

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
Reputation Points: 36
Solved Threads: 6
Posting Whiz
Troy is offline Offline
354 posts
since Jun 2005
Dec 16th, 2007
0

Re: url help

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.
Reputation Points: 108
Solved Threads: 7
Posting Whiz in Training
FireNet is offline Offline
256 posts
since May 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: how to create a members area with the following features
Next Thread in PHP Forum Timeline: beginner question





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC