Bind Apache To One IP In CPanel
Jul 11, 2007
my box has 2 ip's on it. venet0 and venet0:1. Apache is binding to both ip's. I only want it to bind to one IP and leave the other one free (on port 80 at least), before i go in and edit the apache config files by hand, is there any way to ensure i dont break anything in cPanel by doing this (i.e. are there any dependencies or does cPanel even have an intermidiate config for doing this)?
View 1 Replies
Mar 19, 2007
Right now I am using the built-in cpanel backup feature to backup all the accounts on my server to an offsite FTP backup account I have on a weekly basis. The problem I am having is that everytime the backup runs, the load (thats what I'm guessing is the cause) is crashing apache/bind, causing sites to be unreachable until I can restart the services. What options do I have to resolve this issue? Currently I already have spri installed, and it does help out a bit, but its still not enough.
View 4 Replies
View Related
Nov 11, 2008
I been using plesk, and cpanel so this is the first time I have Webmin for my CentOS.
After some googling and reading, i able to install apache, mysqld and vsftpd (for some reason, my host (hivelocity) didnt install these. So this is my setup.
a.com: in godaddy, i add nameserver host as ns1.a.com and ns2.a.com and change the dns to point to that
b.com: in godday, point dns to ns1.a.com and ns2.a.com
BIND DNS Server
========================
I create two master zone for a.com and b.com
a.com
Code:
$ttl 38400
a.com. IN SOA server.a.com. abc.yahoo.com. (
1226206691
10800
3600
604800
38400 )
a.com. IN A 1.2.3.4
server.a.com. IN A 1.2.3.4
a.com. IN NS server.a.com.
mail.a.com. IN A 1.2.3.4
ftp.a.com. IN CNAME a.com.
www.a.com. IN CNAME a.com.
a.com. IN MX 10 mail.a.com.
b.com
Code:
$ttl 38400
b.com. IN SOA server.a.com. abc.yahoo.com. (
1226206691
10800
3600
604800
38400 )
b.com. IN A 1.2.3.4
server.a.com. IN A 1.2.3.4
b.com. IN NS server.a.com.
mail.b.com. IN A 1.2.3.4
ftp.b.com. IN CNAME b.com.
www.b.com. IN CNAME b.com.
b.com. IN MX 10 mail.b.com.
APACHE
========================
I created 2 virtual servers for a.com and b.com
/home/sites/a.com/html
/home/sites/b.com/html
I create an index.php in a.com/html with content: "a.com YEAH"
I create an index.php in b.com/html with content: "b.com YEAH"
After wait for dns to propogated,
when i try to go to a.com, content "a.com YEAH" shows up.
But when goto b.com, content "a.com YEAH" shows up? Why?
Also, when goto ns1.a.com, content "a.com YEAH" is there.
I also has problem with vsftpd but let fix that later.
View 4 Replies
View Related
May 23, 2007
I added a CNAME record on a domain using CPanel "Edit DNS Zone". It looked like this:
mail 14400 IN CNAME pop.anotherdomain.com
But when i do
host mail.mydomain.com i get
mail.mydomain.com CNAME pop.anotherdomain.com.mydomain.com
How do i make bind CNAME to pop.anotherdomain.com instead of pop.anotherdomain.com.mydomain.com.
View 2 Replies
View Related
Jun 10, 2007
Haven't delved into cPanel for a while, but had to get a VPS set up for someone but having problems with BIND.
I try to set the nameservers in WHM but when I try to add the 'A' record, I get the following:
"Bind reloading on uk using rndc zone: [domainname.com] Error reloading bind on uk: rndc: connect failed: 127.0.0.1#953: connection refused"
View 5 Replies
View Related
Feb 14, 2007
I try to set up my VPS.
I couldn't set up any domain because I always got the error "Sorry, a DNS entry for domain.com already exists, please delete it first (from all servers in the dns cluster)".
Then I realized that it's because there was no named.conf. So I tried to make a named.conf myself (I took a named.conf from another server and changed it a bit)... at least I could add DNS Zones and domains now. But it still wasn't working very well.
Is there a way to build named.conf by fedora or cpanel?
View 9 Replies
View Related