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

February 5, 2015 1k 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( which I've entered as server host which is ( and created the site for the domain. Then I've added two other sites too( and

Now content accessed from and all the A records I've added to these domains. In addition while browsing in it can be redirect to subdomains or 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.