This is a discussion on Need help ! subdomain names with php within the PHP Language forums, part of the PHP Programming Forums category; I have got one problem that is , i have a small blog in my language(uyghur , i am uyghur actually)....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I have got one problem that is , i have a small blog in my
language(uyghur , i am uyghur actually).and i want my user's to user subdomain names instead of using long and boring names , EXP http://www.google.com/user.php?username=ali I want this turn in to http://ali.google.com or http://ali.google.com/?ali (google is for example ... So is it possible ? can you help me out here |
|
|||
|
On Jul 23, 3:31*pm, Ali <8333...@gmail.com> wrote:
> I have got one problem that is , i have a small blog in my > language(uyghur , i am uyghur actually).and i want my user's to user > subdomain names instead of using long and boring names , EXPhttp://www.google.com/user.php?username=ali > I want this turn in tohttp://ali.google.com* orhttp://ali.google.com/?ali > *(google is for example ... > So is it possible ? can you help me out here Setting up subdomains is something that is setup through your web server, not through PHP. So looks for a usenet group or some documentation on google relating to your web server, usually Apache. Good luck! |
|
|||
|
Ali escribió:
> I have got one problem that is , i have a small blog in my > language(uyghur , i am uyghur actually).and i want my user's to user > subdomain names instead of using long and boring names , EXP > http://www.google.com/user.php?username=ali > I want this turn in to > http://ali.google.com or http://ali.google.com/?ali > (google is for example ... > So is it possible ? can you help me out here I understand you want to access the same site using different domain names. That's actually a feature that should be provided by your DNS server and your web server. You can create a wildcard entry in your DNS server (such as *.example.com) and then configure your webserver to serve the same site to all names that end up in .example.com). Contact your hosting provider for further details; your plan might not support this. -- -- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain -- Mi sitio sobre programación web: http://bits.demogracia.com -- Mi web de humor al baño María: http://www.demogracia.com -- |