Difference between revisions of "Cloud Hosting/Logs"
(→Logs and Directories) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
Some helpful directories you may need to know include your log files and your home directories. | Some helpful directories you may need to know include your log files and your home directories. | ||
+ | == Logs == | ||
Your log files are found under /var/www/vhosts/<yoursitename>/logs/ | Your log files are found under /var/www/vhosts/<yoursitename>/logs/ | ||
− | + | websites@webserv:~# cat /var/www/vhosts/xmission.com/logs/ | |
access.log access.log.2.gz access.log.4.gz error.log.1 error.log.2.gz | access.log access.log.2.gz access.log.4.gz error.log.1 error.log.2.gz | ||
access.log.1 access.log.3.gz access.log.5.gz error.log error.log.2.gz | access.log.1 access.log.3.gz access.log.5.gz error.log error.log.2.gz | ||
+ | == Content == | ||
Your website content should be uploaded to /var/www/vhosts/<yoursitename>/httpdocs/ | Your website content should be uploaded to /var/www/vhosts/<yoursitename>/httpdocs/ | ||
− | + | websites@webserv:/var/www/vhosts/xmission.com# ls -la | |
drwxrwxr-x 6 websites websites 4096 Nov 10 16:31 httpdocs '''<-------''' | drwxrwxr-x 6 websites websites 4096 Nov 10 16:31 httpdocs '''<-------''' | ||
drwxr-xr-x 2 root root 4096 Nov 10 06:47 logs | drwxr-xr-x 2 root root 4096 Nov 10 06:47 logs | ||
Line 16: | Line 18: | ||
[[Category:Hosting Troubleshooting]] | [[Category:Hosting Troubleshooting]] | ||
[[Category:Getting Started]] | [[Category:Getting Started]] | ||
+ | [[Category:Cloud_Hosting]] | ||
{{:Cloud Hosting}} | {{:Cloud Hosting}} |
Latest revision as of 15:08, 5 October 2017
Contents
Logs and Directories
Some helpful directories you may need to know include your log files and your home directories.
Logs
Your log files are found under /var/www/vhosts/<yoursitename>/logs/
websites@webserv:~# cat /var/www/vhosts/xmission.com/logs/ access.log access.log.2.gz access.log.4.gz error.log.1 error.log.2.gz access.log.1 access.log.3.gz access.log.5.gz error.log error.log.2.gz
Content
Your website content should be uploaded to /var/www/vhosts/<yoursitename>/httpdocs/
websites@webserv:/var/www/vhosts/xmission.com# ls -la drwxrwxr-x 6 websites websites 4096 Nov 10 16:31 httpdocs <------- drwxr-xr-x 2 root root 4096 Nov 10 06:47 logs
Cloud Hosting - Getting Started
To manage your Cloud Server, you will access the XMission Cloud Hosting Control Panel
For assistance in navigating your XMission Control Panel, please visit
Secure your Website
What is a SSL Certificate and How does it work?
Please vist to review a quick overview on why securing your website is a good idea.
Protect your Website
If you would like to learn how to control access to your server Click Here
- XMission does recommend consulting a PHP or Apache Developer to ensure your .htaccess file is configured correctly. This could block total access to your Cloud Server.
FTP Access
FTP Access is typically recommend to connect to your Cloud Server. XMission requires SFTP Access to all hosting servers and suggests using FileZilla. To get help with acessing your server via FTP Click Here
SSH Access
From time to time you may need or want to use the command line to log in to your server. Your Cloud Server is accessible via a Secure Shell Interface also referred to as SSH. For help accessing your server via SSH please Click Here
Server Logs
You may need to look at your server logs. These can be access via SSH or FTP. To locate those logs Click Here
Scheduled Tasks
Cron enables users to schedule jobs (commands or shell scripts) to run automatically at a certain time or date. Some best practices to setting up Cron's:
Migrating MySql
If you are moving an excising website to your XMission Cloud Server, a MySql Database is most likely needed. If you'd need some help importing that database please Click Here
Cloud PHP Info
XMission's Default PHP Info for your Cloud Server: PHP Info
Host Files
How to set up Host Files
SSH Keys
SSH keys allow users to SSH to servers with a more secure method rather than having to rely on passwords alone. To set up SSH Keys Click Here
Server Security
For customers that sign up for Unmanaged Cloud Servers, XMission strongly recommends a few easy steps to take to ensure that your unmanaged Cloud Server stays up-to-date and secure at all times.