Jump to content

Subdomain Creation Issue


aim1hosting

Recommended Posts

I am having quite an issue with subdomains. I have some sites that require self-replicating but the client wants the address to look like this

 

http://yourname.domainname.com

 

We have manually created the subdomain, and created a script that pulls the content from a folder called common that replicates the information and redirects to the subdomain, but we manually have to set up subdomains and place the index.php in the subdomains in order for the websites to work. Once the sites are live and working at http://yourname.domainname.com and and you click on another link inside the website it carries you to this http://yourdomain.com/common/affiliate=yourname.

 

I need to mask all the pages being pulled into the client website with http://yourname.domainname.com

 

Any suggestion on how to automatic this process so that the end result is

 

1.) creates subdomain

2.) places the index.php into the subdomain

3.) keeps all webpages masked to http://yourname.domainname.com

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.