LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Web server configuration and issue (CentOS, Apache, PHP, MySQL) (https://www.linuxquestions.org/questions/linux-newbie-8/web-server-configuration-and-issue-centos-apache-php-mysql-854937/)

albie17 01-07-2011 11:42 PM

Web server configuration and issue (CentOS, Apache, PHP, MySQL)
 
Hi LQ peeps,
This is my first time to set up a production web server and i got some few questions on our migrations:

1. Our website from the Web Hosting company already gaining 5000000 hits/month and 35000 unique visitors/month, problem is we only have 2x4mb dedicated line here in the office and one IBM x3650 m3 for our LAMP, you think guys its enough to handle that kind of traffic if we start moving our web server here in the office?

2. If I register www.example.com to GoDaddy for example, do i still need to setup a DNS (BIND) server on our side? Any thoughts about this?

3. This is my current Apache config: Apache/2.2.3 (CentOS) DAV/2 mod_fcgid/2.3.6 mod_auth_kerb/5.1 PHP/5.1.6 mod_python/3.2.8 Python/2.4.3 mod_ssl/2.2.3 OpenSSL/0.9.8e-fips-rhel5 mod_perl/2.0.4 Perl/v5.8.8 with PHP eAccelerator. Anything to share to increase the performance of the web server?

Thank you and Best Regards

j-ray 01-08-2011 04:00 AM

2x4mb seems to be few but I'm not an expert. To gain performance take a look at module memcache. You need a separate memcache deamon running on another machine. Could help I think...

novice06 01-08-2011 05:11 AM

1. That's depend on your content also. If you have more resources, that is always better. you should think about increase RAM, upgrade CPU.
2. It is not really need to setup your own DNS server. Godaddy will give you their DNS server. You just need to map www (A record) to your Web server public IP
3. To gain performance of your website. You should look into performance tuning sections of these packages. Apache, MySQL (if you use database)
If your site have a lot of disk activity, you should look into your filesystem fragmentation also


All times are GMT -5. The time now is 03:58 AM.