Hosting

How to pack your website in a .zip archive

To upload your website using WebGuard hosting control panel file manager, you need to pack it in a .zip archive. This can be done in several ways:

1. Using Microsoft Winows OS standard utilities

To pack data into archive using MS Windows standard utilities, follow these steps:

  1. Select files you want to pack in an archive.
  2. Riht-click any of the selected files with your mouse. By default, archive you'll make will have the same name as the file you click. You will be able to rename archive after its creation.
  3. Choose Send -> Compressed ZIP-folder in the context menu.
  4. A zip-archive (file with .zip extension) will appear in same folder as files.

2. Using WinZip software

To use WinZip software, you need to have installed on your PC. To pack data in an archive using WinZip software, follow these steps:

  1. Select files you want to pack in an archive.
  2. Riht-click any of the selected files with your mouse.
  3. Choose Add to Zip in the context menu.
  4. Add window will appear. Enter path and name for a new archive in Add to archive field. By default archive is created in same folder as files.
  5. Click Add button in the top-right part of the window.
  6. A Zip-arhive has been created at the specified location. Close WinZip window.

3. Using WinRAR software

To use WinRAR software, you need to have installed on your PC. To pack data in an archive using WinRAR software, follow these steps:
  1. Select files you want to pack in an archive.
  2. Riht-click any of the selected files with your mouse.
  3. Choose Add to Zip in the context menu.
  4. Specify path and name for a new archive in Archive name and parameters window. By default archive is created in the same folder as archived files and will have the name of that folder.
  5. Specify archive format in Archive formatblock:
    • ZIP (format prefered by Kaspersky Laboratory).
    • RAR.
  6. Click ОК button in the lower part of the window.
  7. An archive has been created at the specified location.

How to turn off wordpress additional authorization level

If your website has user registration enabled (i.e. they need to authorize to access some of the website's materials), you may need to turn off wordpress additional authorization level.

To do that add this text to .htaccess file (located in the root of your website):

<Files wp-login.php>  
  Satisfy Any
  Allow From All
</Files>

How to move your website to another hosting?

The simplest way to move your website to our hosting is to use free website migration service done by WebGuard specialists.

If you have an experience of installing website to server, you will most likely be able to move website from old hosting on your own.

  1. First thing you need to do is to prepare website archive and databases for transfer. Depending on the configuration of server you're moving from, the procedure of making an archive may differ so you may need to contact tech support of hosting provider you're moving website from for specifications.
  2. If you haven't yet read an article about WebGuard hosting differences, make sure to do it now: http://en.webguard.pro/page/first-steps
  3. If you haven't created users yet, it will be useful to create a default user template wtih standard settings:
    • Name - Default
    • SSI - checked
    • PHP as Apache module - checked
    • PHP in safe_mode - not checked
    • Disk - at your discretion
    • WWW domains - 1
    • PHP processing - PHP as Apache module
    • All other parameters may be set to max values
  4. Now you will need to make a user in your website hosting panel. To do that log in to hosting control panel as administrator (login name wgNNNN). If you have createad a user template, you will only need to fill in first page while creating a new user. It is important to enter which template you're using, website address and ip-address(pick one from the list of available).
  5. After creating a user exit control panel and reenter as the new user (using login and password of user you've just created). You will be using the same login and password for SFTP access to your site.
  6. Upload your website data via SFTP to www/website_address folder.
  7. While the files are being uploaded, enter "Databases" section in hosting control panel and create a new database and a user for her. Remember database user password. Do notice that as the base is created its name will have SFTP login as a prefix. You will be able to see full name if the base after it is created. MySQL database user name is constructed in the same way.
  8. Follow PHPMyAdmin link in hosting panel and enter data you've saved while creating new database. Once you're authorized, select your new base on the left and enter "Import" section. There you'll be able to import database dump from your site archive (usually it's a file with .sql extension).
  9. Now you'll need to enter database connection parameters to your website's CMS configuration file. That would be, for example, configuration.php for Joomal, wp-config.php for Wordpress. These files can be opened in any text editor.
  10. Depending on your CMS you may need to specify full path to website data on server in configuration file. You can make full path the pattern /var/www/sftp-login/data/www/site-address if you substitute sftp-login and site-address for your data.

The setup is complete and new you only need to test your site before changing NS servers.

After successful test you can set our NS servers to be used your domain.

ns1.webguard.pro and ns2.webguard.pro

We wish you sucess in your work!

How to test your website in-before you change DNS?

During website transfer most users want to test their website functioning before chaning DNS entries.

In order to see your website without domain delegation you will need to add your domain and our server's IP-address to windows/system32/drivers/etc/hosts file on your PC. You can open that file with any text editor, including notepad.

Entries must have a format of Our_server_IP mydomain.com (Our_server_IP - IP-address of our server, sent to your e-mail alongside hosting control panel access data). Do not forget to save the modified file. After this procedure is complete, browser will know what IP requested website is located at and will be able to open it without making queries to external DNS servers.

Example:

IP-address of current server for new orders: 91.230.54.17

In file windows/system32/drivers/etc/hosts we add

91.230.54.17 mydomain.ru

91.230.54.17 www.mydomain.ru

Saving file!

Then open tested website in browser. It is recommended to press Ctrl+F5 after page is loaded first time to avoid the cashing of old DNS values. That will guarante that page is loaded from our server.

Warning! After you'vecompleted configuring your website and changed domain DNS you need removed entries you've added to windows/system32/drivers/etc/hosts.

With OS Windows XP hosts file can be edited with no problems of any kind.

If you have Windows Vista or Windows 7

In Windows Vista and Windows 7 a complication arises - a "straightforward" editing of hosts file will end up with system prohibiting you from saving changes.

To edit hosts file do the following:

1. Find notepad application. It is located in C:\windows\ folder root. Notepad must be launched with Administrator rights. Riht click the file to get the context menu and choose "launch as Administrator".

NotePad Windows 7

2. Next, in notepad use "Open file" menu, move to C:\windos\system32\drivers\ets. Upon entering you may notice that hosts file is invisible. In this case to open it, manually add hosts to the end of "File name" field or set explorer to show all hidden files. Click open. File is ready for editing and saving.

NotePad Windows 7 Open file

Add necessary entries, save the file and open your website as described above.

First steps with WebGuard.pro hosting

WebGuard hosting control panel is rather simple and in most cases fairly comprehensible. Nevertheless, there are several questions that may arise even with an experienced web-master. This article strives answer those.

1. Isolation for your different websites

In order to let you fully isolate your websites from each other, we give reseller (hosting administrator) priveleges to all of out clients (except the econom-class rate plans). After issuing and paying for the hosting requests, you wil recieve on your e-mail two letters with control panel access credentials with logins wgNNNN and wgNNNNu1 (NNNN - a 4-digit number). First login is for administrator account. You will use it to create ordinary user hosting accounts, which you will use to host your sites. These accounts can be created under "users" menu when logged under administrator account. All other actions related to website functioning can be completed with ordinary user account rights (logins wgNNNNu1 or those you've created as administrator).

2. Data transfer via secure protocol SFTP

For security purposes we disable FTP protocol on our servers. Instead we use its secure version SFTP.

3. WebGuard backup system

All sites on hosting are regularly backuped to a separate server. Our system is unique in a way that it allows to store significantly more different backup copies compared to traditional backup systems. In case you need an old copy of your website, contact tech support and specify the date of the backup you need. We shall make an archive and put it into "backups" folder in your hosting account root.

We wish you successful work!!!

© WebGuard.Pro
Your website securely protected, 2012-2024
Tech support:
+7 800 77-55-771