How to use virtual host under Plesk panel

Source: Internet
Author: User
Keywords Virtual host virtual host

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Plesk Control Panel Series products are swsoft developed professional host management software, now Plesk has been more and more universities, enterprises and IDC adopted, and Plesk Control Panel simple and easy to operate as a number of users of choice. Perhaps this kind of panel in China is not very common, but in Japan, there are many enterprises in use, I most often use the Linkclub Plesk Control Panel, so referred to as the LHX host (of course, just my personal name). Let me explain some of the usage rules for Plesk Control Panel.

First, the domain name resolution, plesk panel of the domain name resolution is very simple, even can be said to be easy, for those novice should be more applicable, Plesk panel of the domain name resolution: Login Domain name management platform, modify DNS for the service provider to your DNS. This is equivalent to half of the parsing, and the other half is done in the Control Panel.

Click picture 1, translate into Chinese should be new host add, will appear picture 2, fill in the space above

  

  

Your domain name. Fill out your domain name will be automatically resolved oh, look at the smiling face picture is the evidence Oh! If the Chinese control Panel, the next step in the future, absolutely no problem.

Open FTP, enter the IP account password, connect. See the catalogue of the Red Line?

  

Now let's start writing a script

#!/bin/sh

/usr/bin/mysqldump--opt-h localhost-u database username--password= database password database name >/var/www/vhosts/your domain name/private/ih-s_$ (date +%Y- %m-%d). sql

cd/var/www/vhosts/your domain/httpdocs/

Rm-f Cache Directory

Rm-f Cache Directory

cd/var/www/vhosts/your domain/httpdocs/

zip-rq/var/www/vhosts/your domain name/private/your domain _$ (date +%y-%m-%d). zip *

Exit

Note: Please replace the above Chinese, the domain name is the top-level domain name (without www) cache directory If there is no can be deleted, if a lot can be added.

Okay, save this file, upload to private, change the name, change to: your domain name. SH Your backup script is set up, my host is designed to be 5 a week backup, different host is not the same, some need your personal settings, if there is such, you can continue to pay attention to, I will write it in later content.

Original source: www.macro2011.com/original article, reproduced please famous source. Admins write, please respect the copyright!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.