Connecting Tech Pros Worldwide Forums | Help | Site Map

Need help ! subdomain names with php

Ali
Guest
 
Posts: n/a
#1: Jul 23 '08
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

burgermeister01@gmail.com
Guest
 
Posts: n/a
#2: Jul 23 '08

re: Need help ! subdomain names with php


On Jul 23, 3:31*pm, Ali <8333...@gmail.comwrote:
Quote:
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!
=?ISO-8859-1?Q?=22=C1lvaro_G=2E_Vicario=22?=
Guest
 
Posts: n/a
#3: Jul 24 '08

re: Need help ! subdomain names with php


Ali escribió:
Quote:
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
--
Closed Thread