Difference between revisions of "VPS 201"

From Hostek.com Wiki
Jump to: navigation, search
(Key Preperation Tasks (Hostek Suggests))
 
(12 intermediate revisions by 3 users not shown)
Line 14: Line 14:
  
 
===Setting up your server===
 
===Setting up your server===
'''STOP!'''  We strongly encourage you to review the Cpanel documents; the '''Key Preperation Tasks''' in the next section include the specific links already but these are the main links, bookmark them.
+
'''STOP!'''  We strongly encourage you to review the Cpanel documents; the '''Key Preparation Tasks''' in the next section include the specific links already but these are the main links, bookmark them.
  
*[http://etwiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WebHome WHM Guide]
+
*[https://documentation.cpanel.net/display/ALD/WebHost+Manager+-+WHM+User+Guide WHM]
  
*[http://etwiki.cpanel.net/twiki/bin/view/AllDocumentation/CpanelDocs/WebHome Cpanel Guide]
+
*[http://documentation.cpanel.net/display/ALD/cPanel+User+Documentation cPanel]
  
 
+
===Key Preparation Tasks (Hostek.com Suggests)===
===Key Preperation Tasks (Hostek.com Suggests)===
+
  
 
[[File:Whm-login.png|frame|none|alt=|WHM Login]]
 
[[File:Whm-login.png|frame|none|alt=|WHM Login]]
Line 54: Line 53:
 
'''To enable it:'''
 
'''To enable it:'''
 
#Login to WHM.
 
#Login to WHM.
#Search "Apache mod_userdir Tweak" from the left search tool or scroll down and click on "Apache mod_userdir Tweak" under Security Center.  
+
#Search "Apache mod_userdir Tweak" from the left search tool or scroll down and click on "Apache mod_userdir Tweak" under Security Center.
  
 +
====FTP Access====
 +
*'''IMPORTANT:''' Use the Main IP of the VPS when connecting with any FTP client '''prior''' to pointing any domain to the VPS.
 +
*#Using a domain name added to the VPS '''or''' using the domain name OF the VPS before the DNS record has been updated to point to the VPS will result in connection failures.
 +
*'''IMPORTANT:''' we've often found FTP Clients hold on to the wrong information until you restart them and try again with new connection information.
 +
*'''IMPORTANT:''' currently all of our Linux-based servers (including your VPS) do '''NOT''' allow Insecure FTP because of previous security concerns.
 +
*#Instead you'll have to connect with FTPS or FTPeS making it a secure and encrypted connection
 +
*#In a FTP Client you can usually save your FTP Settings for ease of access later.
 +
*'''IMPORTANT:''' If your FTP Client fails to login continually this will cause your IP Address to be blocked by the Brute Force Protection Software or the Firewall all of the time.
 +
*#If you would like to know how to Whitelist your IP Address see these steps, however, as the wiki states, use caution when Whitelisting IP Addresses: [https://wiki.hostek.com/VPS_201#ConfigServer_Security.26Firewall ConfigServer Security&Firewall]
  
 
====URLs & Ports====
 
====URLs & Ports====
 +
 +
[[File:Whm-url.png|frame|none|alt=|WHM & Ports URL Example]]
 +
 
For accessing WHM(server management), Cpanel(site management), WebMail.
 
For accessing WHM(server management), Cpanel(site management), WebMail.
 
;WHM (over SSL) 2087 - https://yourdomain.com:2087 or https://123.123.123.123:2087
 
;WHM (over SSL) 2087 - https://yourdomain.com:2087 or https://123.123.123.123:2087
Line 66: Line 77:
 
;Webmail (non SSL) 2095 - http://yourdomain.com:2095 or http://123.123.123.123:2095
 
;Webmail (non SSL) 2095 - http://yourdomain.com:2095 or http://123.123.123.123:2095
  
===Key Preperation Tasks (documents to review)===
+
===Key Preparation Tasks (documents to review)===
 
Make your VPS experience excellent by completing these tasks now.
 
Make your VPS experience excellent by completing these tasks now.
  
#'''DNS''' - Your server has the ability to become your own DNS server. Prepare to use or decide not use DNS on your server, but to understand what it is, review the guide: [http://etwiki.cpanel.net/twiki/pub/AllDocumentation/WHMDocs/DNSNewbieGuide.pdf WHM/DNS Newbie Guide]
+
#'''DNS''' - Your server has the ability to become your own DNS server. Prepare to use or decide not use DNS on your server, but to understand what it is, review the guide: [https://documentation.cpanel.net/display/ALD/DNS+Functions WHM/DNS Newbie Guide]
#'''Package (required)''' - Prepare to host a site, packages provide features/limits, review the guide: [http://docs.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmPackages WHMHomeScreen/Packages]
+
#'''Package (required)''' - Prepare to host a site, packages provide features/limits, review the guide: [https://documentation.cpanel.net/display/ALD/Packages WHMHomeScreen/Packages]
#'''Account Functions (important)''' - Add domains, hosting starts here, review the guide: [http://docs.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/AcctFunctions WHMHomeScreen/Account Functions]
+
#'''Account Functions (important)''' - Add domains, hosting starts here, review the guide: [https://documentation.cpanel.net/display/ALD/Account+Functions WHMHomeScreen/Account Functions]
#'''Account Information (important)''' - List domains, quickly manage accounts, review the guide:  [http://docs.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/AcctInfo WHMHomeScreen/Account Information]
+
#'''Account Information (important)''' - List domains, quickly manage accounts, review the guide:  [https://documentation.cpanel.net/display/ALD/Account+Information WHMHomeScreen/Account Information]
 
#'''Backups & Restores''' For questions regarding backup and restore procedures, read this guide: [https://wiki.hostek.com/Backups_-_VPS_and_Dedicated Backups - VPS and Dedicated]
 
#'''Backups & Restores''' For questions regarding backup and restore procedures, read this guide: [https://wiki.hostek.com/Backups_-_VPS_and_Dedicated Backups - VPS and Dedicated]
  
Line 92: Line 103:
  
 
===Setting up your server===
 
===Setting up your server===
'''STOP!'''  We strongly encourage you to review the WCP documents; the '''Key Preperation Tasks''' in the next section include the specific links already but these are the main links, bookmark them.
+
'''STOP!'''  We strongly encourage you to review the WCP documents; the '''Key Preparation Tasks''' in the next section include the specific links already but these are the main links, bookmark them.
  
 
*[https://wiki.hostek.com/WCP_(Windows_based_Control_Panel) WCP Guide]
 
*[https://wiki.hostek.com/WCP_(Windows_based_Control_Panel) WCP Guide]
Line 99: Line 110:
  
  
===Key Preperation Tasks (documents to review)===
+
===Key Preparation Tasks (documents to review)===
 
Make your VPS experience excellent by completing these tasks now.
 
Make your VPS experience excellent by completing these tasks now.
  
Line 109: Line 120:
 
#'''SSL''' - Generate CSR's and complete certificate installations (static IP required), read this guide: [https://wiki.hostek.com/WCP_(Windows_based_Control_Panel)#Dedicated_SSL Dedicated SSL in WCP]
 
#'''SSL''' - Generate CSR's and complete certificate installations (static IP required), read this guide: [https://wiki.hostek.com/WCP_(Windows_based_Control_Panel)#Dedicated_SSL Dedicated SSL in WCP]
 
#'''Backups & Restores''' For questions regarding backup and restore procedures, read this guide: [https://wiki.hostek.com/Backups_-_VPS_and_Dedicated Backups - VPS and Dedicated]
 
#'''Backups & Restores''' For questions regarding backup and restore procedures, read this guide: [https://wiki.hostek.com/Backups_-_VPS_and_Dedicated Backups - VPS and Dedicated]
 +
  
 
===Moving existing sites===
 
===Moving existing sites===

Latest revision as of 18:14, 9 June 2017

VPS 201 - Getting started with VPS

Linux/Cpanel - Start Here

Get acquainted Cpanel and WHM

You will see these two "terms" in the new account email as well as in most CPanel/Linux documents.


  • WHM - "WebHost Manager", used for managing your SERVER, packages, all domains and more.
  • Cpanel - used for managing accounts such as individual accounts or hosted domains on the server.


Setting up your server

STOP! We strongly encourage you to review the Cpanel documents; the Key Preparation Tasks in the next section include the specific links already but these are the main links, bookmark them.

Key Preparation Tasks (Hostek.com Suggests)

WHM Login

ConfigServer Security&Firewall

If you're new to managing a cPanel server, we recommend getting familiar with the ConfigServer Security&Firewall first. If you are having issues with sites that are not loading or generating errors, you would go here to check out the firewall log to make sure nothing is being triggered.

To view these options:

  1. Login to WHM.
  2. Search "firewall" from the left search tool or scroll down and click on "ConfigServer Security&Firewall" under plugins.
Note these areas
View lfd Log, to view the firewall log.
Firewall Configuration, if you need to make changes to the firewall rules, such as opening up a port for specific software.
Search for IP, with this you can search for any blocks for your or customers IP's who have problems connecting to the server.
Quick Unblock, will quickly remove a temporary block if the IP is found in the "Search for IP" option.
Quick Allow, USE WITH CAUTION this will whitelist an IP from the Cpanel firewall. Meaning the IP will not be monitored for any potential risky behavior.


Mod Security

Another tool to get familiar with would be modsecurity. It watches for hacking attempts and blocks them. From the modsecurity plugin you could view the modsecurity log.

To view these options:

  1. Login to WHM.
  2. Search "Mod Security" from the left search tool or scroll down and click on "Mod Security" under plugins.


Pre-Prop or Temporary URL

You could enable something called mod_userdir tweak in cPanel which allows you to access your sites by using the hostname or IP of your server. For example: 123.123.123.123/~username or yourvps.yourdomain.com/~username.

To enable it:

  1. Login to WHM.
  2. Search "Apache mod_userdir Tweak" from the left search tool or scroll down and click on "Apache mod_userdir Tweak" under Security Center.

FTP Access

  • IMPORTANT: Use the Main IP of the VPS when connecting with any FTP client prior to pointing any domain to the VPS.
    1. Using a domain name added to the VPS or using the domain name OF the VPS before the DNS record has been updated to point to the VPS will result in connection failures.
  • IMPORTANT: we've often found FTP Clients hold on to the wrong information until you restart them and try again with new connection information.
  • IMPORTANT: currently all of our Linux-based servers (including your VPS) do NOT allow Insecure FTP because of previous security concerns.
    1. Instead you'll have to connect with FTPS or FTPeS making it a secure and encrypted connection
    2. In a FTP Client you can usually save your FTP Settings for ease of access later.
  • IMPORTANT: If your FTP Client fails to login continually this will cause your IP Address to be blocked by the Brute Force Protection Software or the Firewall all of the time.
    1. If you would like to know how to Whitelist your IP Address see these steps, however, as the wiki states, use caution when Whitelisting IP Addresses: ConfigServer Security&Firewall

URLs & Ports

WHM & Ports URL Example

For accessing WHM(server management), Cpanel(site management), WebMail.

WHM (over SSL) 2087 - https://yourdomain.com:2087 or https://123.123.123.123:2087
WHM (non SSL) 2086 - http://yourdomain.com:2086 or http://123.123.123.123:2086
Cpanel (over SSL) 2083 - https://yourdomain.com:2083 or https://123.123.123.123:2083
Cpanel (non SSL) 2082 - http://yourdomain.com:2082 or http://123.123.123.123:2082
Webmail (over SSL) 2096 - https://yourdomain.com:2096 or https://123.123.123.123:2096
Webmail (non SSL) 2095 - http://yourdomain.com:2095 or http://123.123.123.123:2095

Key Preparation Tasks (documents to review)

Make your VPS experience excellent by completing these tasks now.

  1. DNS - Your server has the ability to become your own DNS server. Prepare to use or decide not use DNS on your server, but to understand what it is, review the guide: WHM/DNS Newbie Guide
  2. Package (required) - Prepare to host a site, packages provide features/limits, review the guide: WHMHomeScreen/Packages
  3. Account Functions (important) - Add domains, hosting starts here, review the guide: WHMHomeScreen/Account Functions
  4. Account Information (important) - List domains, quickly manage accounts, review the guide: WHMHomeScreen/Account Information
  5. Backups & Restores For questions regarding backup and restore procedures, read this guide: Backups - VPS and Dedicated

Moving existing sites

See pre-steps for moving websites in our Changing Hosting Providers wiki.

Cpanel guide for moving VPS to VPS manually.

Windows Server - Start Here

Get acquainted Windows and WCP

You will see this "term" in the new account email as well as in most of our wiki documents.


  • WCP - "Windows Control Panel", (aka MochaPanel) WCP is used to manage all domains on your server, use it optionally however it's optimized to use standard and well thought out methods for creating and managing your domains.


Setting up your server

STOP! We strongly encourage you to review the WCP documents; the Key Preparation Tasks in the next section include the specific links already but these are the main links, bookmark them.


Key Preparation Tasks (documents to review)

Make your VPS experience excellent by completing these tasks now.

  1. Adding Domains - Adding domains is easy and requires just a few steps. To get started fast, review this guide: WCP - Adding Additional Domains
  2. Site Settings (reference) - We HIGHLY recommend familiarizing yourself with the Site Details WCP which includes the testing URL, IP, Name Servers and more. Review reference: WCP Site Details
  3. DNS - Your Site Details (above) contain the Primary and Secondary DNS for your domain, to manage DNS records, review the guide: WCP - DNS Editor
  4. Mail - To manage mail accounts (For VPS's with SmarterMail) from WCP, review the guide: WCP - Email
  5. Databases - Easily manage both MySQL and MSSQL databases and users from WCP, read these guides: MySQL | PHPMyAdmin | Microsoft SQL Server | Restoring MSSQL Databases on a VPS
  6. SSL - Generate CSR's and complete certificate installations (static IP required), read this guide: Dedicated SSL in WCP
  7. Backups & Restores For questions regarding backup and restore procedures, read this guide: Backups - VPS and Dedicated


Moving existing sites

See pre-steps for moving websites in our Changing Hosting Providers wiki.