brnogz
By:
brnogz

How to fixed to access site from wrong domain on LAMP server which installed ispconfig?

February 5, 2015 675 views

I've created a LAMP/Ubuntu droplet and installed ispconfig by follow guide here

After the installation, I've set the dns settings for the domain(domain.net) which I've entered as server host which is (sub.domain.net) and created the site for the domain. Then I've added two other sites too(otherdomain.com and domain.com).

Now domain.com content accessed from domain.net and all the A records I've added to these domains. In addition while browsing in domain.com it can be redirect to subdomains or domain.net. I've thought that PHP $_SERVER array has some wrong values too.

How can I solve that issue?

Be the first one to answer this question.