Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Web Hosting Forum


You are currently viewing our Web Hosting Forum as a guest. Please register to participate.
Login



Reply
Dynamic Subdomain Issue
Old 10-13-2007, 02:38 AM Dynamic Subdomain Issue
Junior Talker

Posts: 4
Name: Anshoo Grover
Location: Kanpur, India
Trades: 0
Hi Friends, I'm a php developer from india. I have to work on dynamic subdomain creation process via php. I need to create folders of users who registers on site. The server platform is linux.

For time being i have created user folders like.
http://example.com/shop_stores/sandy/
http://example.com/shop_stores/mike/
http://example.com/shop_stores/john/

but i want to display as
http://sandy.example.com/
http://mike.example.com/
http://john.example.com/

there are some files in user folder to see that users site.



Also wherever i want to give href link i will be able to give
http://sandy.example.com/.

So can anyone please help me or guide how to do this kind of functionality.
Thanks in advance.
anshoogrover is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-13-2007, 04:03 AM Re: Dynamic Subdomain Issue
Banned

Posts: 2,898
Location: Canada
Trades: 0
To have http;//sandy.example.com sub-domain you need to add
Host Name 'sandy' to your "A" Record





fastreplies
fastreplies is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Dynamic Subdomain Issue
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.09850 seconds with 12 queries