Maintaining CPanel Server
Apr 15, 2008
I am thinking of purchasing a dedicated server running Cent OS 5 with cPanel installed.
The reason for doing this is the websites I run have large bandwidth usage and usually result in getting banned from shared hosting. I will not be reselling the hosting or have other clients on the server, just myself.
I have found a provider that offers good server prices along with 100MB/s unmetered bandwidth. Unfortunately to keep the prices low there are completely unmanaged.
I have some Linux knowledge with setting up and maintaining servers in small environments but not on the internet where lots of security issues come to light.
Will this server running cPanel be hard to maintain and is a firewall installed with or will this be a third party add-on / installation. I am worried as this will be the first t cPanel ime I will have a server exposed to the internet and do not want to be hacked etc.
View 6 Replies
ADVERTISEMENT
Sep 2, 2008
Working on bringing up a new site and was looking to solicit some feedback regarding the optimum way to maintain build/production integrity.
I currently use FileZilla FTP client, set file override to trigger on size and do a bulk upload of the entire site.
The problem is that I need to exclude certain files and directories like the image directory and the configure.php etc. every time I do an upload.
I have used Dreamweavers development/production sync features for a client site in the past and that was very good.
I was thinking about writing my own script to do the maintenance work, but thought I would ask if there is a better way.
How do you all maintain your production/development synchronization?
View 3 Replies
View Related
Jan 6, 2009
I have 35 clients hosting on my dedicated server.
I am going to be ending my service as a host provider, and I need to transfer all of my clients to a new host.
Many of my clients sites were written 3-4 years ago in php while global vars was still off, and so many of the sites might not function correctly if I just pop them to a new host.
My first solution would be to bypass the php .ini file with a public_html/ based ini that would override any newer server settings.
Does anyone know of a good host that could take my clients? And also support the php version locally to the shared account?
I need a host that is reliable, and honest.
Am I going about this the right way?
I am open to any suggestions or advice on this.
I should probably add, all of my clients pay on an annual basis from $89-$140. None of my clients run video sites or any heavy media stuff.
View 11 Replies
View Related
Nov 7, 2009
This is the scenario, domain.com are setup on server1, however server2 also has the same profile of domain.com as we use ns3 and ns4 using domain.com. This works fine with the nameserver setup on server2.
However I encounter problems as the emails from server2 won't reach server1 as there are duplicate profile on server2.
My question is how do I setup the DNS in cpanel/whm from server2 so the emails from server2 will reach server1?
Server1 (www.domain.com)
ns1.domain.com
ns2.domain.com
Server2
ns3.domain.com
ns4.domain.com
View 6 Replies
View Related
Mar 14, 2007
I have 2 servers both have cpanel. I want to use 2nd server's mysql in my site which is on 1st server. I think thats not that hard. I don't wanna do clustering as this is temproary.
View 2 Replies
View Related
Oct 23, 2009
I need to move an SSL certificate from a cPanel server to a Plesk server.
View 3 Replies
View Related
Dec 21, 2008
if it's possible to use ODBC to connect to a Windows box from a Linux cPanel server. We have attempted connections from PHP (both as CGI as well as Apache module) and we get:
Fatal error: Call to undefined function odbc_pconnect() in...
and
Fatal error: Call to undefined function odbc_connect() in...
Is ODBC possible on cPanel servers?
View 2 Replies
View Related
Apr 21, 2009
I just had user KILL the server using 80% CPU and 30% ram.
Processor #1 Vendor: GenuineIntel
Processor #1 Name: Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz
Processor #1 speed: 2331.000 MHz
Processor #1 cache size: 2048 KB
Memory: 4039468k/4718592k available (2494k kernel code, 144784k reserved, 1262k data, 200k init)
with 1TB HDD
How can I restrict him or anybody else from doing this? MySQL was in the next top useage... his site runs a HUGE DB...
Have the following edits
Code:
/etc/my.cnf
[mysqld]
safe-show-database
skip-innodb
max_connections = 800
key_buffer = 96M
myisam_sort_buffer_size = 64M
join_buffer_size = 2M
read_buffer_size = 2M
sort_buffer_size = 3M
table_cache = 1800
thread_cache_size = 128
wait_timeout = 900
connect_timeout = 10
tmp_table_size = 128M
read_rnd_buffer_size = 524288
bulk_insert_buffer_size = 8M
max_allowed_packet = 16M
max_connect_errors = 10
query_cache_limit = 2M
query_cache_size = 192M
query_cache_type = 1
query_prealloc_size = 16384
query_alloc_block_size = 16384
[mysqld_safe]
open_files_limit=8192
[mysqldump]
quick
max_allowed_packet=16M
[myisamchk]
key_buffer=64M
sort_buffer=64M
read_buffer=16M
write_buffer=16M
View 3 Replies
View Related
Apr 10, 2008
A client of mine is asking me to install CVS at the server so he can manage hes application.
Yet, I have no clue if I should look on a particular software to accomplish this. The server is a standard cPanel box with CentOS installed.
View 1 Replies
View Related
Mar 29, 2008
I'm holding a dedicated server on my own and have about 6 sites to transfer to that server, some sites get heavy traffic (8k uniques per day)
what is more effective (since im the only one using the server anyway) creating one cpanel account and hosting all the domains under additional domains on that account with unlimited resources or creating a new cpanel account for each domain?
View 1 Replies
View Related
Jul 11, 2008
I just setup a new cPanel server and the default /etc/my.cnf is only showing
[mysqld]
set-variable = max_connections=500
safe-show-database
My older server has so much more settings. Has anyone guide me how do I go about this? because my phpBB script is not working showing me 2006 MySQL Server has gone away.
[url]
Is there a standard recommended guide for /etc/my.cnf entry for a shared server?
View 6 Replies
View Related
Jan 21, 2007
I have a cpanel server.
I have done some mis- experiments.
My datacenter support has asked me to do the following:
"restore the original configuration by copying the /etc/security/limits.conf.orig file into /etc/security/limits.conf and rebooting your Server. "
View 5 Replies
View Related
Aug 12, 2008
After spending 1 hour wondering why all domains suddenly stopped working and the hosting server was showing no signs of fail.
A simple dns service restart on my secondary dns server fixed this.
Is there any way to auto restart the dns service upon failure on the cpanel dns only build?
Also why would the secondary dns server failing, cause the domain to stop working. The primary dns/hosting server was fine.
View 1 Replies
View Related
Dec 14, 2008
I have just purchased a VPS with WHM and CPANEL.
My old VPS used LXADMIN and HYPERVM.
I'm trying to change over the DNS from the old to the new, so all i did was change the i.p's.
Now i go into WHM and type my DNS servers into the setup/config page. Having already assigned each dns name an i.p im just waiting for the Assign an A address to this namserver button to show my new i.p address.. At the minute it says my old one.
Is this the correct way, i know it can take a while to proporgate, is this the same with it showing the new IP?
anyone wants to check:
playcontrol.co.uk
ns1.playcontrol.co.uk
ns2.playcontrol.co.uk
View 11 Replies
View Related
Apr 10, 2009
i have a centos with cpanel server,
it may be the board problem,it could not work now.
i install another centos server with cpanel,
how can i restore fron the hd of original server to the new one well?
View 1 Replies
View Related
Oct 27, 2009
I've got ClamAV installed on my cPanel (Dedicated) server with a single site and would am having trouble setting up ClamAV to scan emails.
I installed it via WHM and have set it up in WHM to scan all items.
Ie: WHM -> Plugins -> Configure ClamAV Scanner -> Scan ALL items
After doing a few manual scans however (using 'clamscan -ri') I'm finding infections in the account mail folder.
1. Is there a good guide to setting up ClamAV on a cPanel serve do do automatic mail scanning? I was under the impression that ClamAV scans emails also however after doing some reading people seem to recommend MailScanner.
2. My logwatch is giving me the following error.
The ClamAV update process (freshclam daemon) was not running! If you no longer wish to run freshclam, deleting the freshclam.log file will suppress this error message.
The freshclam daemon wasn't running so I've started it (freshclam --daemon). I've also checked the freshclam.conf file and the logrile is set as follows:
UpdateLogFile /var/log/freshclam.log
View 7 Replies
View Related
May 30, 2009
I've had some people trying to sell me dedicated recently with cpanel for €30, unbelievable that too with core duo 2.ghz, 100mbps unmetered, 250 gb, ofcourse i said no but strangely they were offering cpanel with it. Now that is unbeilievable, when i asked what cpanel, they said they installed Cpanel VPS on it.
It was quite astonished there and they said it was common practice.
Of course i know it is scam but they actually showed me a screenshot..
View 7 Replies
View Related
May 5, 2009
I was searching for something else the other day and came across this (search for LogWatch on the page).
It changes the default paths for some of the log files so that they work on a cPanel/WHM server.
This will give you more reports in your daily LogWatch email - specifically, it adds exim, apache, courier and PureFTP logs.
Most tutorials only show you how to change the detail level or the email address in logwatch.conf.
So, I thought I'd share this piece of information.
I found that a few changes were necessary for my system.
So, I'll give all the steps I followed below:
1) After you have installed LogWatch, change the following in /usr/share/logwatch/default.conf/logwatch.conf :
Code:
Detail = High
MailTo = <your email address>
You can use Detail = Med if you want to reduce the details you get.
2) Add the following to /etc/logwatch/conf/override.conf (you may have to create the file):
Code:
logfiles/exim: LogFile = exim_mainlog
logfiles/http: LogFile = /usr/local/apache/logs/access_log
services/pop3: *OnlyService = cpanelpop
services/pop3: *RemoveHeaders = 1
services/pureftpd: LogFile = messages
services/pureftpd: $show_logins = 1
services/pureftpd: $show_logouts = 1
services/pureftpd: $show_new_connections = 1
So, if you are not bored reading LogWatch's daily logs and would like to increase your workload, you now know how to
How have you configured your LogWatch installation ? Or do you use something other than LogWatch?
View 0 Replies
View Related
Nov 2, 2009
I am concerned as I get several emails containing this like this:
Large Number of Failed Login Attempts from IP xxx.xxx.xxx.xxx
I'm trying to stop it, as obviously, I don't want anyone gaining access to my server.
Any tips for making sure the server is really secure?
View 6 Replies
View Related
May 29, 2009
Since the past few months I am facing cpu load on a server. The server is a Intel Xeon server with 4 gigs of RAM. Today the load average went over 150 which is very high. I could not access the server to check what is causing such a high load. I had to reboot the server using Remote Power switch. Is there a way I can find out the cause of the heavy load after the server is reboot? Is there any log where all the information is stored?
View 9 Replies
View Related
Jul 14, 2009
What are the ways to find out why a CentOS 5.3 server running cPanel suddenly went offline.
I ran "last reboot -n 10" and "last" and grepped for shutdown calls, but nothing. /var/log/messages.1 reveals nothing as well.
View 10 Replies
View Related
Oct 3, 2009
I run a free webhosting company, and I would like to email all of my users (they accepted this by signing up with my services) a monthly newsletter. I do not wish to use the WHM Email All Users function, but rather use a third party tool.
Is there a way to export ALL of the email accounts of my users
View 5 Replies
View Related