Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 30th April 2012, 15:02
vaio1 vaio1 is offline
Senior Member
Join Date: Jul 2007
Location: Italy
Posts: 664
Thanks: 77
Thanked 12 Times in 7 Posts
Default Wrong Creation of the WebHost using the API

Hi guys,

I have executed our API to create a new website but we have seen that the .vhost file created has a problem:

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.


<Directory /var/www/domain.com>
    AllowOverride None
    Order Deny,Allow
    Deny from all

<VirtualHost :80>

<Directory /var/www/domain.com>
    AllowOverride None
    Order Deny,Allow
    Deny from all

<VirtualHost *:80>
This is the method that creates the website. Where is the problem?

Reply With Quote
Sponsored Links
Old 30th April 2012, 17:53
till till is online now
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,995
Thanks: 840
Thanked 5,647 Times in 4,457 Posts

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.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
vaio1 (4th May 2012)


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
API: Mysql Update problem branov Developers' Forum 15 6th March 2012 14:33
Folder Protection API snowfly General 4 9th January 2012 09:15
ISPConfig3 + API + BoxBilling class450dude Installation/Configuration 3 22nd August 2011 23:32
Installation Troubles bswinnerton Installation/Configuration 4 29th July 2007 17:56
after web-form edit, site creation from hostingplan gives wrong values raveneye Installation/Configuration 2 7th November 2005 01:51

All times are GMT +2. The time now is 13:52.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.