Difference between revisions of "install xpanel"
From WebHostingNeeds.com
m (→Edit httpd.conf) |
m (→Edit xp_httpd.conf) |
||
Line 90: | Line 90: | ||
Update with your mysql login. | Update with your mysql login. | ||
+ | Add following virtual host entry for the main web site | ||
+ | <pre> | ||
+ | <VirtualHost 198.27.126.137:80> | ||
+ | ServerName ratedxhost.com | ||
+ | ServerAlias www.ratedxhost.com | ||
+ | DocumentRoot /home/ratedxhost.com/public_html | ||
+ | ServerAdmin [email protected] | ||
+ | CustomLog /var/log/httpd/ratedxhost.com.log combined | ||
+ | ScriptAlias /cgi-bin/ /home/ratedxhost.com/public_html/cgi-bin/ | ||
+ | <Directory "/home/ratedxhost.com/public_html"> | ||
+ | Options Indexes FollowSymLinks | ||
+ | AllowOverride All | ||
+ | Order allow,deny | ||
+ | Allow from all | ||
+ | </Directory> | ||
+ | </VirtualHost> | ||
+ | </pre> | ||
== Edit httpd.conf == | == Edit httpd.conf == |
Revision as of 20:26, 7 September 2013
- Extract xpanel_117.tar.gz
- Upload xpanel folder to /usr/local/xpanel
Edit Config.pm
vi /usr/local/xpanel/Conf/Config.pm
Find
'domains' => '.xpanel.de, .xpanel.info, .xpanel.net, .xpanel.org, .xpanel.us',
Replace With
'domains' => '.ratedxhost.com',
Find
# Sign-Up web site. 'web_site' => 'http://www.xpanel.com', 'cgi_bin' => 'http://www.xpanel.com/cgi-bin',
Replace with
# Sign-Up web site. 'web_site' => 'http://www.ratedxhost.com', 'cgi_bin' => 'http://www.ratedxhost.com/cgi-bin',
Find
'mysql_admin_password' => 'Your_MySQL_PassWord_Here',
Replace Your_MySQL_PassWord_Here with your actual mysql password.
Find
'virtualhost_ip' => '123.45.67.89', # Your own Domain Name Servers 'name_servers' => { 'ns1' => 'ns1.xpanel.net', 'ns2' => 'ns2.xpanel.net', 'IP1' => '123.45.67.88', 'IP2' => '123.45.67.89' },
Replace with your vhost IP and name server IPS.
Also change value for orgname, orgmail, business_email
Edit xp_httpd.conf
vi /usr/local/xpanel/Conf/xp_httpd.conf
Find
NameVirtualHost 123.45.67.89 <VirtualHost 123.45.67.89>
Replace with your vhost IP.
Find
CustomLog "|mysql -hlocalhost -uxpanel -pXPanel XPanel" mysql
Update with your mysql login.
Add following virtual host entry for the main web site
<VirtualHost 198.27.126.137:80> ServerName ratedxhost.com ServerAlias www.ratedxhost.com DocumentRoot /home/ratedxhost.com/public_html ServerAdmin [email protected] CustomLog /var/log/httpd/ratedxhost.com.log combined ScriptAlias /cgi-bin/ /home/ratedxhost.com/public_html/cgi-bin/ <Directory "/home/ratedxhost.com/public_html"> Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost>
Edit httpd.conf
vi /etc/httpd/conf/httpd.conf
Add below
Include "/usr/local/xpanel/Conf/xp_httpd.conf"