Installation problem

installation problem:
1- I do the ASTPP installation, it seems that it has been normal.
2- I test the ASTPP under [ ex: subdomain. mydomain .com], it seems to work, but it also works in mydomain .com (we don’t want that)
3. We verify the file /var/lib/astpp/astpp-config.conf, base_url = https: // subdomain. mydomain .com
4. We want to use [ex: mydomain .com] for a website. For this we create a folder called “web” in /var/www/html/ and configure the file /etc/httpd/conf/httpd.conf, the virtualhost:
<virtualhost *: 80>
DocumentRoot /var/www/html/web
ServerName mydomain .com
ServerAlias www.mydomain .com

<virtualhost *: 80>
DocumentRoot /var/www/html
Subdomain ServerName. mydomain .com
ServerAlias www.subdomain. mydomain .com

Nothing works.
Can someone help to set it up correctly?


it is because and , both resolving your ASTPP server ip.

Is this concern different than the one you are discussing in thread ‘ASTPP and Plesk working together’?
If not, please close this one and continue over there.