Hi guys, I have executed our API to create a new website but we have seen that the .vhost file created has a problem: Code: webserver: # apachectl configtestSyntax error on line 7 of /etc/apache2/sites-enabled/100-domain.com.vhost: The address or port is invalid Action 'configtest' failed. The Apache error log may have more information. When I open the 100-domain.com.vhost file I can see the problem. WRONG Code: <Directory /var/www/domain.com> AllowOverride None Order Deny,Allow Deny from all </Directory> <VirtualHost [B]:80[/B]> . . . . </VirtualHost> CORRECT Code: <Directory /var/www/domain.com> AllowOverride None Order Deny,Allow Deny from all </Directory> <VirtualHost [B]*:80[/B]> . . . . </VirtualHost> This is the method that creates the website. Where is the problem? Thanks
You answered your questions yourself, the IP address in the vhost is empty instead of showing * and the resaon for that is that you pased a empty IP address field instead of * to the web add function.