With 1.7 million freelancers, we'll match you with the perfect talent.
The client has made the following changes to the job.
Client prefers freelancers from:
You are still able to submit a proposal for this job.
The client prefers freelancers from
a different location.
I have a dedicated server runnng linux with several domains. The main domain name has several subdomains that are giving me the following problem:
The $_SERVER['DOCUMENT_ROOT'] for the primary domain name's subdomains is the subdomain's own folder and each subdomain does not 'know' about the true document root public_html .
public_html/subdomain_folder = is the document root for all scripts running in that folder
What I want :
public_html/subdomain_folder to think that the document root is public_html.
The issue is is that several scripts running on the subdomains. These scripts need _SERVER['DOCUMENT_ROOT'] to be the public_html folder.
This was not an issue at my prior web host but when I switched over to my new hosting, it became an issue.
Please know-- I do NOT want to change any php code. I want the server to think that each subdomain's document root is the root of the main website.
This is not something that can be changed using cpanel.
In the past I ...
Sign in or Register to see more