Jump to content

Question about Subdomains


gratsami

Recommended Posts

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.

 

Link to comment
https://forums.phpfreaks.com/topic/210051-question-about-subdomains/
Share on other sites

  • 2 weeks later...

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

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.