ajw_doc
17th June 2008, 13:49
Hi,
I see ispconfig kinda supports static ips but was wondering if there was something I can change to let it do it properly.
I can manually edit /etc/httpd/conf/vshost/Vshosts_ispconfig.conf and edit the file:
How it is setup
NameVirtualHost 12.345.678.90:80
<VirtualHost 12.345.678.90:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
my change
NameVirtualHost 12.345.678.90:80
<VirtualHost 12.345.678.90:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /path/to/domainwanted
</VirtualHost>
No this obviously gets overwritten when any dns changed are made in the admin panel.
It seems a little odd that you can add multiple ips, set a site to one ip but not allow it to have proper IP based support. There must be a way to edit the file that makes the change to Vshosts ? Maybe not.
If not is there going to be support for it?
Thanks,
doc
I see ispconfig kinda supports static ips but was wondering if there was something I can change to let it do it properly.
I can manually edit /etc/httpd/conf/vshost/Vshosts_ispconfig.conf and edit the file:
How it is setup
NameVirtualHost 12.345.678.90:80
<VirtualHost 12.345.678.90:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
my change
NameVirtualHost 12.345.678.90:80
<VirtualHost 12.345.678.90:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /path/to/domainwanted
</VirtualHost>
No this obviously gets overwritten when any dns changed are made in the admin panel.
It seems a little odd that you can add multiple ips, set a site to one ip but not allow it to have proper IP based support. There must be a way to edit the file that makes the change to Vshosts ? Maybe not.
If not is there going to be support for it?
Thanks,
doc