I want to make a site with one of the main things being like piczo. I want the visiors to be able to type in username.mysite.com and it takes them to mysite.com and pulls the information for the username infront of mysite.com in the url. Is there anyway to do this without using mod_rewrite?
Thanks. Its a dedicated server, so It should support them. I will ask to make sure, but if the server does support wildcard subdomains, how would I go about using them?
Just type the wanted subdomain infront of your actual domain, and it'll point to your root directory if no other was registered in your cPanel. Take an example on my site: http://www.randomsig.net/ Replace the "www" with whatever you want and it'll work. http://sgerge.randomsig.net/ http://_wefwe-.randomsig.net/ http://4523153few.randomsig.net/ http://sdr.fwfqwwef.wef.sd.randomsig.net/ You can fetch the subdomain name with $_SERVER['HTTP_HOST']. And if it doesn't support wildcard subdomains, this might be useful. http://www.google.com/search?q=htaccess+subdomains