Tag

web hosting

Browsing

 If you try to access CPanel WHM via https://server.domain.com:2087/ and the error “There is a problem with this website’s security certificate” comes up it can be because it uses a default SSL certificate loaded during the automated install and you need to update it with your personalized certificate.

To have a non-self-signed certificate you will need to create a certificate request using the domain and credentials you intend to connect with. Then upload that cert request to an SSL provider site where you have an account. After purchasing a certificate you can install it into CPanel.

Install a SSL Certificate for WHM port 2087 and cPanel port 2083:

1) Purchase / Install the Certificate for your fully qualified domain (ie: server.domain.com)

– You can find your fully qualified server URL in the WHM under:
>> Server Status >> Server Information (System Information)

– Then you will create a certificate for this domain under:
>> SSL / TLS >> Generate a SSL Certificate and Signing Request

– After purchasing your certificate, you will install the certificate under:
** THIS MAY SEEM SLOW – BE PATIENT – WAIT FOR A BOLD CONFIRMATION MESSAGE **
>> SSL / TLS >> Install a SSL Certificate and Setup the Domain

– After installation is complete, you can assign the new certificate to be your SHARED certificate under:
** This is NOT required but is a great benefit for your clients and helps brand your domain **
>> SSL / TLS >> Manage SSL Hosts

2) Test your new Certificate

https://server.domain.com/
This should resolve and the cert should function properly before moving forward. If this does not work, you will need to review addition instruction on SSL installation.

https://server.domain.com:2087/
This should NOT WORK but give you an invalid certificate error. The reason is that the certificate is installed for the domain only, and has not been assigned to the appropriate WHM/CPANEL services.

3) Install the CERT for the WHM and CPANEL Service (this is the step you don’t think about!!)

Service Configuration >> Manage Service SSL Certificates
> Select “Install New Certificate” for the “cPanel/WHM/Webmail Service”
> Select Domain this CRT is for “Browse”
> Pick the full server cert you installed “server.domain.com”
> Press “Submit” to install

4) Test your Service Certificate

https://server.domain.com:2087/

ServerPronto offers the best affordable and secure hosting service in all dedicated server packages.

 

More information under:

Manage SSL Certs

Configure WHM cPanel SSL Certificate

When changing configuration settings in Apache using directives in .htaccess files make sure:

    • – The full directory content is listed with:    ls -a to view hidden file that start with “.”
    • – ensure Apache can use .htaccess, it is necessary to verify that option is enabled
      • – enabled .htaccess in httpd.conf

How-To-Do:

http://httpd.apache.org/docs/2.2/howto/htaccess.html

ServerPronto offers the best affordable and secure hosting service in all dedicated server packages.

If you have problems setting up an FTP server or issues accessing your FTP site, here are two basic tips that have helped our customers before to make their FTP server work properly.

  1. Check if the FTP daemon you are using is installed correctly and is running
  2. Verify the software firewall rules

The FTP server should be allowed to accept TCP connections to port 21, and to make TCP connections from port 20 to any port

For further details, here are helpful instructions on how to set up your FTP server:

FTP Configuration in Linux

http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch15_:_Linux_FTP_Server_Setup#Introduction

http://www.mdjnet.dk/ftp.html

FTP Configuration in Windows Server 2008

http://learn.iis.net/page.aspx/309/configuring-ftp-firewall-settings/

FTP Configuration using cPanel

http://docs.cpanel.net/twiki/bin/view/AllDocumentation/CpanelDocs/FTPAccounts

ServerPronto offers the best affordable and secure hosting service in all dedicated server packages.

At ServerPronto we build our customer’s orders precisely and accurately. We do double duty on quality control during the provisioning process, still, we encourage our customers to check the hardware settings of the server you ordered.

Linux commands to check hardware:

Harddrive

fdisk –l

Memory

cat /proc/meminfo

CPUcat /proc/cpuinfo

 

ServerPronto offers the best affordable and secure hosting service in all dedicated server packages.

Managing the hard drive on a server, meaning creating/ removing partitions and formatting/ activating slave drives is a vital step in setting up a server that we usually do for our customers. But sometimes users want to manage their storage by themselves; here is how to do it:

Linux:

to get an overview of your hard drives and to see partitions such as /dev/hda and /dev/hdb

fdisk –l

to manage the slave drive

fdisk /dev/hdb
p - to see partitions
d – to delete partitions
n - to create new partition
m – to display help in fdisk
w – to write changes
reboot

to format the partition

mke2fs –j /dev/hdb1

go into nano /etc/fstab and add the following to the end of the file

/dev/hdb1    /home    ext3    defaults    1 2

to make the partitions usable and visible with df -h

mount –a

————————————————————————————————————–

Windows:

Access the built-in utility “Disk Management“. Go into the Control Panel -> go under Administrative Tools -> Computer Management -> on the left-hand side underneath Storage -> Disk Management.

Look on the bottom right and you’ll see something that looks like this picture. The disk with all of the unallocated space is what you’re after. Right, click on it. Select New Partition.

A wizard will pop up and walk you through this process. Choose a partition size. If this is a secondary drive then you’re obviously after pure storage space so just make it a primary partition and allocate 100% of your space to it.

The followed screen looks like this. Just clicking next until you get here.

If you’re only using Windows 2000/XP/Vista/Windows 7 and Windows server 2000/2003/2008, it is suggested using NTFS. If you’re dual booting then Fat32 would probably be a good idea if the other OS can’t read NTFS.

For NTFS the default cluster size is 4K which is pretty much the best tradeoff between speed and storage space.

Volume label is nothing other than the name you want it to be called.

Make sure you select the quick format or else it’ll be a while before you can use the disk.

Click next it’s just a summary of what you told it to do.

Click next and soon the new drive is available.

ServerPronto offers the best affordable and secure hosting service in all dedicated server packages.

 

More information at: http://www.easeus.com/resource/install-ide-hard-drive.htm

IPTables is an application program that allows to set up, maintain, and inspect the tables of IP packet filter rules provided by the Linux kernel.

All IPTables rules are stored on /etc/iptables.rules
You can open/close any port from it and then restart the network by running “etc/init.d/networking restart”

Before opening or closing ports, we recommend to first verify if the port is open or closed and who is using the port. There a number of different commands:

Commands to verify ports:

nmap IP#
nmap localhost
netstat –ntulp

to verify the single port

netstat -nap | grep  <port #>

to list all current rules in iptables

iptables -L

For opening a TCP port:

iptables -A INPUT  -p tcp –dport <port #> -j ACCEPT

For opening a UDP port:

iptables -A INPUT -p udp –sport <port #>  -j ACCEPT

Save changes:

iptables-save > /etc/iptables.rules

If you need to disable the firewall temporarily, you can flush all the rules using:

iptables -F

————————————————————————————————————

ServerPronto offers the best affordable and secure hosting service in all dedicated server packages.

 

For more detailed information visit

Iptables Description by Ubuntu Manuals

Iptables How-To for Ubuntu by Ubuntu Manuals

Iptables How-To for Debian by wiki.debian.org

We recommend installing a software on your server to keep track of how much bandwidth you are using. There are many open source solutions available one of them is vnStat.

vnStat:

vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface. It uses the network interface statistics provided by the kernel as the information source. This means that vnStat won’t actually be sniffing any traffic and also ensures light use of system resources.

Install:

Ubuntu/ Debian:

cd /usr/local/src
wget http://humdi.net/vnstat/vnstat-1.10.tar.gz tar -zxvf vnstat-1.10.tar.gz cd vnstat-1.10 make && make install vnstat -u -i eth0 chmod 700 /usr/bin/vnstat chmod 700 /var/lib/vnstat/ -R

http://www.dotcomunderground.com/blogs/2010/03/05/install-vnstat-network-traffic-monitor-linux/

CentOS:

http://forums.serverbeach.com/showthread.php?7193-CentOS-Bandwidth-tool-vnstat-installation-walk-through

For more information on vnStat visit: http://humdi.net/vnstat/

 

ServerPronto offers the best affordable and secure hosting service in all dedicated server packages.

Do you have a website and want it to be hosted for free? Sign up and come to the cloud.

Your CPanel based hosting account will be hosted on our proven CloudPronto technology which includes an Energy Efficient Infrastructure, 99.9% Uptime Guarantee, Easy upgrading/downgrading of plans, Fault-Tolerant Cloud Infrastructure and Load-Balanced Cloud Architecture – And it’s FREE!

  • 1 FTP Account
  • 5 Email Accounts
  • 1 MySQL Database

http://www.cloudpronto.com/

ServerPronto offers the best affordable and secure hosting service in all dedicated server packages.