gratsami Posted August 7, 2010 Share Posted August 7, 2010 Hi I faced a problem in subdomains but there are some tricks: I've domain registered in Godaddy.com and I make in my project (in PHP) users accounts and it is like ( http://domain.com/?s=xxx ) i want the domain like ( http://xxx.domain.com ), The (xxx) is a variable, thats mean i want to convert users account to new URL without create subdomain in Cpanel, because i've more than 8000 users. Note: I want all new URLs pointed to root folder (public_html). another question please: if we finished the first request, is there a problem if putting some variables in the last like: ( http://xxx.domain.com/?action=aaa&subaction=bbb&anotheraction=ccc ) please help me... Sami Mansour. Quote Link to comment https://forums.phpfreaks.com/topic/210051-question-about-subdomains/ Share on other sites More sharing options...
RussellReal Posted August 16, 2010 Share Posted August 16, 2010 wildcard (catchall) subdomains.. most hosting companies will enable this for you.. I f you are on a hosting account higher than a shared hosting account, vps/vds, dedis usually you can make your own wildcard subdomain with an A Record in your dns settings.. if you are on shared hosting you will want to put in a ticket or contact them directly and have them add catch-all or wildcard subdomain functionality to your hosting account.. some hostings will protest this, in which case if you really want this done, you will most likely need to move to a different hosting company.. but you probably won't have to deal with this as most hosting companies will .. Quote Link to comment https://forums.phpfreaks.com/topic/210051-question-about-subdomains/#findComment-1100016 Share on other sites More sharing options...
gratsami Posted August 17, 2010 Author Share Posted August 17, 2010 RussellReal Thank you for your response... The host server with me... but i don't know how to do that. cause iam not server administrator. and we haven't a server administrator. how i can do that? can you explain the steps to me. our server build on CentOS, last version Cpanel/WHM licensed with php5 , mysql ... please help me. thank you again Sami. Quote Link to comment https://forums.phpfreaks.com/topic/210051-question-about-subdomains/#findComment-1100064 Share on other sites More sharing options...
RussellReal Posted August 17, 2010 Share Posted August 17, 2010 http://www.easymodrewrite.com/example-subdomains Quote Link to comment https://forums.phpfreaks.com/topic/210051-question-about-subdomains/#findComment-1100400 Share on other sites More sharing options...
gratsami Posted August 17, 2010 Author Share Posted August 17, 2010 RussellReal: Thank you so so so much I'll read this article. Regards Sami Quote Link to comment https://forums.phpfreaks.com/topic/210051-question-about-subdomains/#findComment-1100425 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.