Need help ! subdomain names with php

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)....


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-23-2008
Ali
 
Posts: n/a
Default Need help ! subdomain names with php

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
Reply With Quote
  #2 (permalink)  
Old 07-23-2008
burgermeister01@gmail.com
 
Posts: n/a
Default Re: Need help ! subdomain names with php

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!
Reply With Quote
  #3 (permalink)  
Old 07-24-2008
Álvaro G. Vicario
 
Posts: n/a
Default Re: Need help ! subdomain names with php

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
--
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:53 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0