Thank you
I have got a server from datacentec and I am getting the following results from free vps benchmark
It has 1 TB Hard Drive
and I am getting the results below
CPU model : Intel(R) Xeon(R) CPU E5462 @ 2.80GHz
Number of cores : 4
CPU frequency : 2400.000 MHz
Total amount of ram : 16042 MB
Total amount of swap : 31249 MB
System uptime : 8:17,
Download speed from CacheFly: 82.8MB/s
Download speed from Coloat, Atlanta GA: 14.9MB/s
Download speed from Softlayer, Dallas, TX: 47.3MB/s
Download speed from Linode, Tokyo, JP: 8.03MB/s
Download speed from i3d.net, Rotterdam, NL: 12.2MB/s
Download speed from Leaseweb, Haarlem, NL: 28.5MB/s
Download speed from Softlayer, Singapore: 8.31MB/s
Download speed from Softlayer, Seattle, WA: 1.70MB/s
Download speed from Softlayer, San Jose, CA: 23.9MB/s
Download speed from Softlayer, Washington, DC: 61.5MB/s
I/O speed : 76.8 MB/s
@kamal, if you're hosting multiple users, I suggest you use something similar to 'apache2-mpm-itk'. Virtual hosts can then be configured to run user scripts as them. Then, set permissions on your www directory to 771.
Oh thank you for your reply, I have more than 7 manually configured Virtual hosts so I can now just adjust the permission to 771 ?
Also I have SSL for one of the domain
without using the .htaccess
I added the following to the virtual host configuration
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
The problem with the redirection is that it's being redirected to double // what should I do to properly redirect the domain from non www to www along with the https
@kamal said:
Oh thank you for your reply, I have more than 7 manually configured Virtual hosts so I can now just adjust the permission to 771 ?
Also I have SSL for one of the domain
without using the .htaccess
I added the following to the virtual host configuration
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
The problem with the redirection is that it's being redirected to double // what should I do to properly redirect the domain from non www to www along with the https
I would recommend you to go with centminmod in case you can't understand these things.
Thank you very much for your reply, I have Ubuntu and Apache 2.4 manually configured, do you think it would be wise to switch to CentOS and then use the centminmod as you suggested ?
@kamal said:
Thank you very much for your reply, I have Ubuntu and Apache 2.4 manually configured, do you think it would be wise to switch to CentOS and then use the centminmod as you suggested ?
@kamal said:
Thank you very much for your reply, I have Ubuntu and Apache 2.4 manually configured, do you think it would be wise to switch to CentOS and then use the centminmod as you suggested ?
If you are happy with configuring everything manually and it works, why not stick with it? It's a great learning experience, even if you plan to change to a control panel in the future.
Comments
Totally depend on what you use it for.
For LAMP Hosting
This would work:
You need to think this
/boot 250MB, /swap 2GB , / (50-100GB system&dbs) , /home (all other space if you host here users file)
Thank you
I have got a server from datacentec and I am getting the following results from free vps benchmark
It has 1 TB Hard Drive
and I am getting the results below
are the above good ?
Thank you in advance.
Yes. I think you don't have RAID ? If you don't have RAID, I/O is also good.
Yes there is no Raid only one TB Sata HDD, another question I have manually configured LAMP setup..
What permission should I have on the www folder ..
@kamal, if you're hosting multiple users, I suggest you use something similar to 'apache2-mpm-itk'. Virtual hosts can then be configured to run user scripts as them. Then, set permissions on your www directory to 771.
Oh thank you for your reply, I have more than 7 manually configured Virtual hosts so I can now just adjust the permission to 771 ?
Also I have SSL for one of the domain
without using the .htaccess
I added the following to the virtual host configuration
RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] RewriteEngine On RewriteCond %{HTTPS} !on RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}The problem with the redirection is that it's being redirected to double // what should I do to properly redirect the domain from non www to www along with the https
I would recommend you to go with centminmod in case you can't understand these things.
Thank you very much for your reply, I have Ubuntu and Apache 2.4 manually configured, do you think it would be wise to switch to CentOS and then use the centminmod as you suggested ?
Yes, for now.
I want to recommend you to use VESTA (vestacp.com) , is free and easy to install .. this can help you a lot ..
If you are happy with configuring everything manually and it works, why not stick with it? It's a great learning experience, even if you plan to change to a control panel in the future.
Or you can use Centos web control panel . You can even restore cPanel backups.
Thank you all for your great replies, I have chosen centminmod and it seems to work fine untill now
Sincerely
Kamal Gurung