What is a domain transfer?

A domain name transfer involves a domain name that you’ve already registered with another company but wish to transfer over to us. 

There are four general requirements for a successful transfer of a domain name to go through:

  1. The domain name must be at least 60 days old – should not be registered less than 60 days ago
  2. The domain name must be unlocked for transfer (For more information, please refer to: How to lock/unlock a domain name?)
  3. The domain”s EPP transfer authorization key must be provided (if the given TLD supports such) – it could be acquired from the domain name’s current registrar (For more information, please refer to: EPP (authorization code))
  4. The transfer verification emails must be responded to – they are sent within 24 hours after the domain transfer is initiated to the Administrative Contact email address specified in the WHOIS record of the domain name

Once the domain transfer is confirmed by following the instructions in the transfer verification email, the transfer procedure becomes fully automated and may take 3-5 business days to complete.

Some specific domain types (TLDs) have different requirements for transferring a domain name. Some TLDs cannot be transferred at all.

However, the afore-mentioned requirements are valid for the majority of the TLDs (domain extensions).

What is crontab?

The Cron Daemon runs on Unix-based Operating Systems and, in essence, is closely similar to the Windows Task Scheduler.

It allows you to post your own ”magic rules” for useful and time sparing automation of any of the scripts you will be working with.

Cron is what enables users to schedule jobs, which run automatically at a certain date or time and thus perform system administration or script-related tasks.

The crontab is the virtual ”scoreboard” for setting up cron jobs and represents a configuration file to which users write shell commands that run periodically, at a given schedule.

The Cron Daemon is a long running process that executes commands and performs scheduled tasks at a specific date or time.

The stored commands are what we call cron jobs and the utility, which is used to keep a record of them is Crontab.

For your convenience, we have created a visual interface for creating cron jobs.

It is located under the Advanced > Cron Jobs section of your Control Panel.

Learn how to set up a simple cron job in this tutorial: How to set up a cron job?

How to setup a cron job

In this tutorial, we will show you a few useful examples on how to create a cron job for your script-based websites.

Scripts usually include a working environment, which is sophisticated enough to work as a multi-structural base for performing a wide variety of tasks.

Those tasks altogether are easily implemented and combined into forums, informational portals, blogs, billing management systems, etc.

Although most often the implementation of a given script is done in real time and the users operate with a web-driven GUI to navigate through what the given script might offer, there are still some ”assignable” tasks that only site administrators can schedule.

Those tasks are what we call cron jobs – they carry important site/script maintenance information and pass system commands to the Cron Daemon via Crontab. Cron jobs are scheduled to execute shell commands or scripts at a given time or date.

Below you will find a few examples, which represent a shell command execution cron job and a script (cgi / php) execution cron job.

Cron jobs have the following formatting that we will divide into groups:

Cron job time schedule – [ Minute – Hour – Day – Month – Weekday ]

Cron job shell command – [ARGUMENTS]

Cron job script command – [PATH OF PHP/PERL] [ARGUMENTS] [PATH OF PHP SCRIPT]

Here is an example of cron job time scheduling and the allowed cron job operators:

.—————- minute (0 – 59) 
| .————- hour (0 – 23)
| | .———- day of month (1 – 31)
| | | .——- month (1 – 12) OR jan,feb,mar,apr … 
| | | | .—- day of week (0 – 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat 
| | | | |
* * * * * command to be executed

* * * * * => Execute every minute
0 * * * * => Execute every Hour
0 0 * * * => Execute every midnight
0 0 0 * * => Execute every Month
0 0 0 0 * => Execute every Weekdays

You can create cron jobs from your Control Panel.

To do that – navigate to Advanced > Cron Jobs and click on the ‘Create a New CronJob‘ button.

There you can also see the cron jobs that have already been created.

To set up a cron job – you must specify the email address where the results will be sent to, the date and the time when the job should be executed and the command, which should be executed.

Here is an example of running shell command driven cron jobs and script execution cron jobs:

0 * * * * rm -f * /home/www/my-best-domain.com/temp/

This command will initiate the rm (remove/delete) utility for file/folder deletion and will forcibly delete all the files under /home/www/my-best-domain.com/temp/

Let us say that you want to mail newsletters, site updates, etc. to your clients on a daily basis.

Most script systems have already prebuilt scripts for this purpose and many more automated services.

The cron job would look like this:

0 0 0 0 * /usr/bin/php /home/www/my-best-domain.com/mailcron.php

You can learn more on the allowed file types when using Crontab in the following tutorial: Files that could be executed with crontab – allowed file extensions.

What is SSH, how do I activate and use SSH?

SSH, also known as Secure Shell, is a network protocol that creates a secured channel, which allows data to be transferred and exchanged between two hosts.

Basically, the Internet in its early days was designed to provide ease of use, not security.

SSH substitutes older protocols, such as telnet and rlogin, where passwords were passed in plain text and could be easily intercepted.

You can use SSH in order to connect to a remote machine and execute commands.

For example, you can import a database, find files and edit them.

A server-client environment is used when connecting via SSH. The connection is standardized at TCP port 2222. 

What you need in order to connect is an SSH client software application. PuTTY is one of the most popular.

A server daemon is constantly checking for incoming requests.

So how can you obtain SSH access to your hosting account?

First, check whether SSH is enabled for your web hosting plan – navigate to the Advanced section of your Control Panel and check for the SSH/Shell Access option. If you don’t see this option, it is not included in your web hosting plan.

If it is enabled for your web hosting plan, you will see the SSH/Shell Access option and the status will be either ”Active” or ”Not Active”.

Click on the ”Activate” button.

A message such as the one below indicates that SSH is not included in your web hosting plan:

Your hosting plan type does not allow an additional SSH service to be added! Please refer to the ”Account Usage” table on the left.

You might need to upgrade your plan features by using the ”Add or Upgrade Services” section.

In this case, you can order SSH as an upgrade from the “Add or Upgrade Services” link on the left.

Once you have SSH activated, all you need is an SSH client (e.g. PuTTy), a username and a password.

The username is the same as the one that you use to log into your Control Panel.

The password could be easily set from the Advanced > SSH/Shell Access section.

If you choose to use PuTTy, set the SSH host/server to ssh.supremecenterXX.com (replace XX with the number of the server where your account is located – you can see it in the address bar/URL bar when you are logged into your Control Panel).

How do I setup custom error pages for my website?

Whenever an error occurs on the server, it displays an error page to the visitor with information and tips about the possible cause for the error. These error pages do not match your website’s layout and are sometimes too general.

You may want to set up your custom error pages, which should be displayed to your visitors whenever an error occurs.
website’
There are two methods that could be used to achieve this.

1) Editing the domain/subdomain options in the Subdomain Manager section.

We have embedded the option to set a custom error page for server errors 400, 401, 403 and 404 inside the Subdomain Manager section of your Web Hosting Control Panel (My Domains > Hosted Domains).

Find your domain in the list and click on the “Edit Domain” icon () from Actions column on the right. You are now able to edit the error page options.

You should see the following options:

Error 400 page:
Error 401 page:
Error 403 page:
Error 404 page:

Initially, all error pages are set to “Default“. To set a custom error page, choose “Custom URL” and enter the path to the corresponding error page in the field.

If you haven’t created one yet, do this first and then get back to the Subdomain Manager section to update the settings.

2) Using .htaccess

Just like with the first method, which is described above, you must create the corresponding error page(s) first. When ready, open the File Manager section of your Hosting Control Panel (Files > File Manager) and navigate to your domain/subdomain folder – it usually has the same name as your domain/subdomain and is located inside the www/ directory.

Inside the domain folder create an empty file called .htaccess using the form located at the top of the File Manager section. Then edit the .htaccess file with the plain-text editor and insert the following code:

ErrorDocument 400 /custom400.html
ErrorDocument 401 /custom401.html
ErrorDocument 403 /custom403.html
ErrorDocument 404 /custom404.html

In the above example the custom 404 error page is located in the same folder as the .htaccess file and it is called custom400.html.

Edit the path and the name of each page accordingly to reflect the actual names and location of your custom error pages.

This method would work no matter what the settings in the Subdomain Manager section are.

How to redirect/forward a website (URL redirection)

There are different ways for you to redirect a domain to another one or, in general, one URL to another. Most of the available options are explained in this article:

1. Using our URL Redirection tool
In your Control Panel you will find the URL Redirection section (Advanced > URL  Redirection). For detailed information about the options visit the tool and click on the Help button.

2. Framed redirection
If you want to redirect visitors but keep the URL (address) in the address bar unchanged, you have to use framed redirection. Basically, what you do is create a file that loads the new website (which you want to redirect to) in a frame. To use framed redirection to redirect my-best-domain.com to my-best-domain.net, for example, you can create a file called index.html and put it inside the main folder of my-best-domain.com. The index.html file must have the following code:

<html>
<head>
<title>TITLE OF THE PAGE</title>
<frameset cols = "100%">
<frame src ="http://my-best-domain.net" />
</frameset>
</head>
<body>
</body>
</html>

Of course, make sure to replace “TITLE OF THE PAGE” with the actual title that you want your visitors to see and replace “http://my-best-domain.net” with the actual web address, which you want to redirect the visitors to.

(3) Using .htaccess and the Redirect directive

If you need to forward visitors to the new address and don”t mind that the URL in the address bar will change, you can use the following technique:

Create a file called .htaccess inside the main folder of your domain. You can do this using the File Manager (Files > File Manager) section of your Web Hosting Control Panel. Edit the .htaccess file to put the following code in it:

Redirect 301 / http://my-best-domain.net/

The above code will redirect visitors to http://my-best-domain.net/ and “tell” search engine spiders (bots) that your URL has changed permanently – this is what the 301 code means.

Using this technique you can also redirect specific URLs, for example a single page. If you used to have a page called page.html and you renamed it to newpage.html, you may want to create a redirection, which will forward visitors who try to open page.html to newpage.html. This is how it”s done with .htaccess: 

Redirect 301 /page.html http://my-best-domain.com/newpage.html

*Additional uses of .htaccess:

You have changed the file extension?

RedirectMatch 301 (.*).html$ http://my-best-domain.com$1.php

This example is perfect if you have decided to switch from .html pages to .php, keeping the old names of the pages and changing only the file extensions. Now, be careful with this because any .html page there is will be redirected to a page with the same name but with a .php extension, regardless of whether such .php file actually exists.

Redirect all www traffic to a NON www version of the site (http://www.my-best-domain.com -> http://my-best-domain.com):

RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.my-best-domain.com [NC]
RewriteRule ^(.*)$ http://my-best-domain.com/$1 [L,R=301]

Redirect all NON www traffic to a www version of the site (http://my-best-domain.com -> http://www.my-best-domain.com):

RewriteEngine on
RewriteCond %{HTTP_HOST} ^my-best-domain.com [NC]
RewriteRule ^(.*)$ http://www.my-best-domain.com/$1 [L,R=301]

You have purchased SSL for your domain and now wish to redirect ALL traffic to an HTTPS version of your site?

RewriteEngine On
RewriteCond %{SERVER_PORT} !443
RewriteRule ^(.*)$ https://www.my-best-domain.com/$1 [R]

(4) Redirecting using the META tag refresh
In HTML files you can put a META tag refresh to refresh the page after a certain amount of time. The META tag refresh also allows you to refresh to a new URL, which virtually means forwarding the visitors to a new web address. To use this technique you must create an index.html file inside your domain”s main folder with the following code:

<META http-equiv="refresh" content="0;URL=http://my-best-domain.com">

 This will redirect the visitor immediately to my-best-domain.com.

(5) Using the Location Header in PHP
This technique works similarly to the afore-mentioned one where we redirected the visitor using the HTML META tag refresh. However, instead an index.html file, here you must create an index.php file inside your domain”s main folder and use the following code:

<?
header("HTTP/1.1 301 Moved Permanently");
header ("Location: http://www.my-best-domain.net");
?>

This will redirect the visitor to http://www.my-best-domain.net and will “tell” search engine bots that the address has changed permanently.

(6) Redirecting using JavaScript
Control over what page is loaded into the browser rests in the JavaScript window.location property. By setting window.location equal to a new URL, you will in turn change the current webpage to the one that is specified. If you want to redirect all your visitors to www.my-best-domain.net when they arrive at your site, you will just need the script below:

<script type="text/javascript">
<!--
window.location = "http://www.my-best-domain.net/"
//-->
</script>

What is a PostgreSQL database?

PostgreSQL is another Relational Database Management System (RDBMS) that is supported on our servers. The database stores information and the data is structured in tables – rows and columns.

A great deal of web applications that you can use on your website, such as shopping carts, forums, blogs or content management systems (CMS), require the use of a database.

Most open source applications use MySQL databases since they are easier to use and generally work faster. PostgreSQL, on the other hand, is more complex, which allows the developer more flexibility and provides more features.

For more information on comparing MySQL and PostgreSQL databases, please refer to this article: What is the difference between MySQL and PosgreSQL?

Important notice: Not all hosting plans include support for PostgreSQL databases. If you can’t see the PostgreSQL Databases section under the Databases menu on your hosting control panel, your plan does not support PostgreSQL.

You can create a PostgreSQL database using the Databases > PostgreSQL Databases menu of the Web Hosting Control Panel. Once you open that menu you’ll see the form for creating new PostgreSQL databases. You have to specify the name of the database.

It always starts with the username of your hosting account (username_) and then you can choose the unique part that will distinguish the particular database.

Then you have to specify and confirm the password for that database and click on the button below to create the database.

Below the form for creating new databases there is a table with all the existing PostgreSQL databases in your account.

For each database you have the option to change the password, delete the database or log in via the phpPgAdmin tool. For more information on how to log in, please refer to the respective article in this knowledge base.

Additional notes:

  • A database created on our servers will have only one user that is created by default (new users cannot be created) and the default user of the database has all the priviliges.
  • The database name and the database username in our system coincide.
  • It is advisable to create separate databases for every application that you use for easier management.

Are Microsoft SQL (MSSQL) or Microsoft Access databases supported?

As a customer-oriented company, we strongly believe that the quality of our services should exceed clients expectations at the lowest possible price.

On account of this, our management team decided to have all our servers running on the open-source platform called Linux – an Operating System that has gained tremendous popularity in the last several years among desktop users, as well as impressive growth on the server market.

This in turn has attracted more interest in the development of reliable and inexpensive (free, in most cases) products ranging from desktop applications and office suites to high-end database solutions.

The MSSQL and Access databases, developed by Microsoft, run exclusively on Windows-based servers, such as Windows Server 2003 and Windows Server 2008.

To be fair, there are applications that could theoretically provide MSSQL and Access support under Linux with questionable results and none of those meet our quality standards.

The alternative our company offers is MySQL – the fast, cross-platform database from ”MySQL AB”. Its portability means that you can use it on a variety of Operating Systems – Windows, Linux, Unix, Apple XServe, IBM mainframe, and many more.

If you have already developed your application using a MSSQL or an Access database, we can recommend you the following three options for conversion to MySQL:

Option 1: MSSQL2MySQL https://www.mysql.com/why-mysql/white-papers/guide-to-migrating-from-sql-server-to-mysql/

Option 2: Microsoft Data Transformation Services (DTS). Microsoft has included a data manipulation tool within the SQL server. It provides options for data export in various formats and systems. For more information on how to use this feature, please refer to these documents from Microsoft.com:

http://msdn.microsoft.com/en-us/library/cc917688.aspx

http://technet.microsoft.com/en-us/library/ms345120(SQL.90).aspx

Option 3: Similar to Microsoft DTS, Access has its own tool for table export in many formats (including ODBC). All you need to do here is right-click the table in Access and select ‘Export’. A new wizard will appear, guiding you through the conversion process.

How to unzip files with the File Manager?

Uploading a lot of files to your hosting space could be a burden if your Internet connection gets interrupted.

Besides, your FTP client opens a new connection for each file in the upload queue, thus taking more time for the files to upload.

The more the files you are trying to upload are, the longer the upload time will be. For that reason, we have included a useful function in the File Manager tool in your Web Hosting Control Panel – unzipping an archive that has been uploaded on the server.

If you want to upload a whole website, you can archive it using a freeware archivator like WinRar or 7Zip.

Upload the file in the corresponding folder, for example /www/my-best-domain.com either via FTP or via the File Manager (Files > File Manager) tool.

Then open the File Manager tool and navigate to the folder where you uploaded the file. You should see the archive that you have just uploaded.

Right Click on the file name – a small window opens, prompting you what you would like to do.

All options are listed in a drop-down menu.

You can open the file with a WYSIWYG editor, a plain text editor or in a browser.

To unpack the archive file in the current folder, you have to select the Extract option.

You can also zip (create an archive) a whole folder by clicking on the Compress icon. The supported archive file types are .zip, .rar, and .tar.gz.

By choosing the Zip/Archive option from the drop-down menu, you can create a zip file of all the files within that folder, making it easier to download the entire folder at once.

How to transfer my emails from my previous provider to you?

Here are step-by-step instructions on how to move your emails from the previous hosting provider:

Option 1: Works in all cases (does not require assistance from your current/old provider)

Set up an IMAP account for each of your mailboxes, using a mail client like Outlook, Thunderbird, etc. 

If you are not sure, ask your old hosting provider what the IP of the IMAP mail server you need to connect to is.

Detailed information on how to set up a POP3 account could be found in the email related articles.

Step 1: Download all your emails locally (including all the folders that you might have, like Sent, Draft, etc.) to your computer using the IMAP accounts.

Step 2: Update the domain name servers (if you haven”t done it yet) to the ones listed in the Hosted Domains section of your hosting Control Panel. 

Step 3: Create all the mailboxes that you will be using via the Email Manager section of the Control Panel.

Step 4: You will now have to create IMAP accounts in your mail client for each of the mailboxes. Please note that the previously created IMAP accounts must remain – do not delete them yet!

Step 5: Once you have the two IMAP accounts for each mailbox, just drag and drop all the messages and folders from the IMAP account with the old hosting provider to the new one. This way you will upload all the emails from your computer to our mail server. 

Option 2 – May requires assistance from your current/old provider

Step 1: Check with your old hosting provider if you can have access to the /mail/ directory. There should be folders for each of your email accounts that you have to download to your computer.

Step 2: Create all the mailboxes that you will be using from the Email Manager section of your Control Panel.

Step 3: Upload all mailbox folders to your hosting account with us, using FTP. The folders could be uploaded directly to the /www/ directory.
Each of your mailbox folders (e.g. mail@my-best-domain.com) should contain the following sub-folders: “cur” and “new”.

Step 4: Go to the File Manager section of the hosting Control Panel and navigate to the directory which contains the uploaded folders from the old hosting provider. 

Copy all the files as follows:
– from /www/uploaded-mail/mail@my-best-domain.com/cur/ to /mail/mail@my-best-domain.com/cur/
– from /www/uploaded-mail/mail@my-best-domain.com/new/ to /mail/mail@my-best-domain.com/new/

If you experience problems – check if /mail/mail@my-best-domain.com/ and the subfolders have permissions 755.

Log into the mailbox and see if the messages were copied successfully.

Repeat the steps for each of your mailboxes.