ignacius
06-21-2005, 08:45 AM
Dear friends,
We have our dedicated server with IworxCP. Before I upgraded from iworx 1.8.1 to 2.0.2 , the configuration I had was :
7 entries in DNS Zone management - with dedicated IPs
ABC.com
DEF.com
GHI.com
LMN.com
OPQ.ABC.com - SSL
RST.ABC.com - SSL
RST.LMN.com - SSL
5 siteworx accounts
ABC.com
LMN.com
OPQ.ABC.com - SSL
RST.ABC.com - SSL
RST.LMN.com - SSL
Note that I did'nt create any siteworx account[just DNS zone entry alone] for :
DEF.com
GHI.com
I was able to server the default /var/www/html directory for these two domains.
But, now after upgradation, I get same page for DEF.com and GHI.com
with title "Test page for the apache HTTP server and Interworx-CP".
The thing is that I want to serve the default /var/www/html for these two domains DEF.com and GHi.com.
Is there a way to achieve this using Apache virtual directory [if so how?]. I tried by myself to create custom DEF.com.conf in htttpd.conf directory, but it didn't have any effect.
COntent of /etc/httpd/conf.d/DEF.com.conf
<VirtualHost IPADDRESSASSIGNEDTODEF.COM:80>
ServerAdmin root@localhost
DocumentRoot /var/www/html
ServerName DEF.com
ServerAlias www.DEF.com
ErrorLog logs/DEF.com-error_log
CustomLog logs/DEF.com-access_log common
</VirtualHost>
COntent of /etc/httpd/conf.d/GHI.com.conf
<VirtualHost IPADDRESSASSIGNEDTOGHI.com:80>
ServerAdmin root@localhost
DocumentRoot /var/www/html
ServerName GHI.com
ServerAlias www.GHI.com
ErrorLog logs/GHI.com-error_log
CustomLog logs/GHI.com-access_log common
</VirtualHost>
I restarted apache : service httpd restart
I want to server these two domains with /var/www/html content and don't need a siteworx account for each of these two.What changes should I made?
thank you,
N.Nallu Ignacius
We have our dedicated server with IworxCP. Before I upgraded from iworx 1.8.1 to 2.0.2 , the configuration I had was :
7 entries in DNS Zone management - with dedicated IPs
ABC.com
DEF.com
GHI.com
LMN.com
OPQ.ABC.com - SSL
RST.ABC.com - SSL
RST.LMN.com - SSL
5 siteworx accounts
ABC.com
LMN.com
OPQ.ABC.com - SSL
RST.ABC.com - SSL
RST.LMN.com - SSL
Note that I did'nt create any siteworx account[just DNS zone entry alone] for :
DEF.com
GHI.com
I was able to server the default /var/www/html directory for these two domains.
But, now after upgradation, I get same page for DEF.com and GHI.com
with title "Test page for the apache HTTP server and Interworx-CP".
The thing is that I want to serve the default /var/www/html for these two domains DEF.com and GHi.com.
Is there a way to achieve this using Apache virtual directory [if so how?]. I tried by myself to create custom DEF.com.conf in htttpd.conf directory, but it didn't have any effect.
COntent of /etc/httpd/conf.d/DEF.com.conf
<VirtualHost IPADDRESSASSIGNEDTODEF.COM:80>
ServerAdmin root@localhost
DocumentRoot /var/www/html
ServerName DEF.com
ServerAlias www.DEF.com
ErrorLog logs/DEF.com-error_log
CustomLog logs/DEF.com-access_log common
</VirtualHost>
COntent of /etc/httpd/conf.d/GHI.com.conf
<VirtualHost IPADDRESSASSIGNEDTOGHI.com:80>
ServerAdmin root@localhost
DocumentRoot /var/www/html
ServerName GHI.com
ServerAlias www.GHI.com
ErrorLog logs/GHI.com-error_log
CustomLog logs/GHI.com-access_log common
</VirtualHost>
I restarted apache : service httpd restart
I want to server these two domains with /var/www/html content and don't need a siteworx account for each of these two.What changes should I made?
thank you,
N.Nallu Ignacius