Category Archives: uncategorized

How to obtain the EPP transfer code for my domain

If your domain is registered through our company and you want to transfer it away, log into your hosting control panel, go to My Domains -> Registered Domains and click on the EPP icon.
The transfer code, which some companies also refer to as an authorization key or domain password, will be sent to the Registrant contact email address associated with the domain.
You can double-check the email address in the same section by selecting the domain and clicking on the Change WHOIS button.   

How to lock/unlock a domain name

Registrar Lock is an additional security feature available for some of the domain TLDs that we offer (.com, .net, .biz, .org, .us, .in, .me, .tv, .cc, .nu, .asia).

This security feature prevents domain name transfers. That way nobody can transfer your domain name and seize control over it without your authorization. The Registrar Lock function can be enabled or disabled by the domain owner. By default, newly registered domains are locked by our system but they could be unlocked at any time.

If you are trying to transfer a domain name to our company and the domain name status is “locked” or “transfer prohibited”, you must contact your current registar and request to have the domain name unlocked for transfer.

If you are trying to transfer a domain name away from us or simply want to unlock a domain name that is registered with us, you can do that from My Domains > Registered Domains

Next to each domain name there are several columns with corresponding icons underneath each of them. The very first one is the Status column. There you must click on the Registrar Lock icon:


Domain Lock/Unlock

Once you click on that button you will see a small pop-up window that displays the current status of the domain name. Next to it there is a button that reads Lock or Unlock, depending on the current status. Clicking on that button changes the status of your domain name.

IMPORTANT: To ensure the safety of your domain names, it is strongly recommended that you keep them locked at all times unless you intend to transfer a particular domain name.

NOTE: If you do not see a padlock next to the domain, it means that the domain extension does not support this feature and a transfer is done either with a transfer code or via email approval. If you are not sure how to transfer away your domain, feel free to open a ticket from the Help section located on the top right of your hosting control panel.

How to use Memcached?

The Memcached system is used by some of the most traffic heavy sites such as YouTube, Facebook, Twitter.

It is also supported by some popular CMSs such as Drupal, Joomla, and WordPress.

To use Memcached with PHP, please enable memcached extension from the control panel at Advanced -> PHP Settings -> Edit php.ini -> memcached On.

To have Memcached enabled your plan needs to have Memcached instances available. In case you need to add one or more, you can purchase it as an upgrade from the Add/Upgrade service(s) section in the hosting control panel.

Each instance goes with 16 MB of memory which is why the Memcached instances go with Memcached memory.

Important: many applications require host and port to link them with Memcached. On our system the Memcached works on a Socket instead of Port.

In this case you need to use

Memcached hostname(IP): unix:///home/sys/memcached.sock
Memcached Port: 0

Example: $memcached->addServer(‘unix:///home/sys/memcached.sock’, 0);

How to Enable Memcached on Joomla

You can speed up your Joomla site by using memcached.

To enable memcached on Joomla, you need to modify a few settings in your Joomla configuration.php file first.

You can find this file in your Joomla site’s root folder. Using your favorite FTP software, edit this file and find the following lines:

public $caching = ‘0’;
public $cache_handler = ‘file’;

Change these lines to the following:

public $caching = ‘2’;
public $cache_handler = ‘memcache’;

Then, immediately after the two lines you edited, add these two lines:

public $memcache_server_host = ‘/home/sys/memcached.sock’;
public $memcache_server_port = ‘0’;

After you are done making all the changes, save the configuration file.

Configure Memcached in Joomla Settings

Now, we will configure memcached on our Joomla-based website.

Login to your Joomla site’s admin panel and navigate to System -> Global Configuration.

Click on the server tab at the top and scroll down to Cache Settings. From the drop-down menu select Persistent(Memcached).

Note: Make sure to enter the correct Memcached server host and port for your server.

Memcache(d) Server Host: /home/sys/memcached.sock
Memcache(d) Server Port: 0

Save the settings.

You’ve successfully enabled memcached on your Joomla website.

Why my website is loading slow?

In this article we will cover some of the reasons why your website loading is slow.

Unoptimized Images
A large volume of unoptimized images is usually the most common reason behind website slowness. High-resolution images can consume lots of bandwidth while loading. Uploading larger sized images and then scaling them down can unnecessarily increase the size of your web page – causing your website to load slowly.

The image format is another important factor to consider. For example, JPEG images are much smaller in size compared to other image formats like PNG or GIF. Quite naturally, your web page will load faster if you are using JPEG images instead of PNG/GIF.

Solutions:

– Check the file size of your images, anything above 1MB is really unacceptable.
– Use JPEG instead of PNG, especially for larger images. Icons are ok.
– Use waterfall tests to easily scan image sizes and take corrective action.

JavaScript Issues
The availability of JavaScript/jQuery plugins has made it really convenient to add dynamic content to websites. However, if implemented incorrectly, JavaScript can cripple your website’s page load speed.

Solutions:

– Audit your JavaScript scripts to see what you really need and remove the rest.
– Consider using something like Google Tag Manager – a single script for all your tools.

Excessive HTTP Requests
Having loads of JavaScript, CSS, and image files can lead to too many HTTP requests. When a user visits your web page, the browser performs several requests to load each of these files – which can significantly reduce the page load speed.

Solutions:

– Reduce the number of files on your pages where possible. Includes CSS, images, javascript.
– Minify your CSS and Javascript files reduces the number of total files users will have to download.

Not Making Use of Caching
Whenever you visit a website, certain elements are stored in a cache, so the next time you visit the site it can easily access those parts and load much faster. With caching, instead of your browser having to download every single resource, it only has to download a few of them.

By turning on caching you can considerably improve your site’s loading for return visitors. If you’re using a CMS like WordPress you can install a plugin like W3 Total Cache, either of which will let you enable sitewide caching, or caching of certain site elements.

Another great tool for speeding up dynamic database-driven websites is Memcached. Memcached reduces that load by storing data objects in dynamic memory.
For more details see the following articles as well:

– How to use Memcached? 
– How to Enable Memcached on WordPress? 
– How to Enable Memcached on Joomla ? 


Too Many Ads
No doubt display advertisements are great for monetizing your websites traffic.

But that shouldn’t come at the cost of compromised performance or user experience. Don’t let too many ads be another reason why your website is slow!

The most obvious impact of overloading your website with advertisements is the addition of HTTP requests, which would need additional processing time.

Especially the rich media ads – like pop unders, interstitials and auto downloads – may create hundreds of HTTP requests making your website unresponsive.

How to Enable Memcached on WordPress

In this guide, we’re going to use the free extension W3 Total Cache to configure WordPress with Memcached.

If you’re already using another extension such as WP Super Cache, you’ll need to deactivate this and install the W3 Cache in order to follow this guide.

Here are the steps to follow to configure W3 Total Cache with Memcached:

1. Sign in to your WordPress dashboard
2. In the main menu, go to Performance then click on General Settings
3.  Activate Memcached for the following options:

– Page Cache Method
– Minify Cache method
– Database cache method

-> Save the settings

For Memcached hostname:port / IP:port use: /home/sys/memcached.sock:0

Save the settings and you’ve successfully enabled memcached on your WordPress website.

High CPU usage caused by WordPress

WordPress is a content management system written in PHP. This means that the content it serves is generated dynamically by a set of PHP scripts: every time a visitor arrives at your website, WordPress processes the request and generates a response.

Clearly, responding to a request implies a certain use of server resources: one has to look at the request itself, determine what the visitor wants to access, fetch it from the database, generate the HTML response, and so on.

With this in mind it is not difficult to find out what are the reasons why we can see high CPU usage on the server:

– You get too many requests. If a lot of users come to your website at the same time, or you receive many illegitimate requests (someone’s probably attacking your site), WordPress will have to process all those requests and, therefore, the use of server resources will increase.

– Requests are slow to resolve. If you have a lot of plugins installed or some of your plugins is inefficient for whatever reason, all the requests you get will take longer than needed, because WordPress will run a lot of inefficient code.

Analyzing the problem

First you need to locate the website which is causing the problem, especially if you have more then one WordPress sites installed.

For the purpose, please check the Statistics block on the hosting control panel home page (Dashboard). If you sort the sites by Hits you can easily locate the most visited one.

Then you can find more details about the traffic and if there is any unusual behavior from the Web Statistics section of your control panel. 

Another great tool to locate a high resource consuming website is the MySQL Stats 

After that you have to identify why CPU usage has increased on our website. Has the number of requests to our website increased? Is it now slower to serve individual requests?

Solving the problem

Once of the first things you should try is to get a cache plugin installed. Once of the most popular ones is W3 Total Cache 

This great plugin also allows you to to setup Memcached for your WordPress for additional optimization. Check out our WordPress with Memcached article. 

Another great tool to analyze your WordPress performance is the Query Monitor plugin. 
It enables debugging of database queries, PHP errors, hooks and actions, block editor blocks, enqueued scripts and stylesheets, HTTP API calls, and more.

Sometimes the reason for high CPU usage could be the so called Bad Bots. Bad bots are any bot that hit your website at no benefit to you. These bots consume server resources especially if they hit your website or wp-login page excessively.

One of the great plugins lately is Wordfence and using this plugin you can easily view and block any of those bots and add an extra layer of security to your WordPress along the way.
Wordfence includes an endpoint firewall and malware scanner that were built from the ground up to protect WordPress.

Please check the official WordPress optimization instructions page as well. 

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>

How to setup my email account in Entourage mail?

Here is how you can manually set up an email account in Entourage:

  1. Open Entourage, click on the Tools menu at the top of the screen and then click on Accounts.
  2. When the Accounts window opens, click on the New button in the upper-left corner of the window to start the Account Setup Assistant.
  3. Select the button Configure account manually.
  4. The New Account box appears. Select either POP or IMAP for your server type (we recommend IMAP). Click OK.
  5. The Edit Account box appears. In the Account name box enter your e-mail address (mail@my-best-domain.com)
  6. In the Name box enter your name as you would like it to appear on the messages you send (e.g., John Smith)
  7. In the E-Mail address box enter your e-mail address (e.g., mail@my-best-domain.com)
  8. In the Account ID box enter your e-mail address (e.g., mail@my-best-domain.com)
  9. In the POP/IMAP server box enter: mail.supremecluster.com
  10. In the Password box enter the password for your e-mail account.
  11. Enable “Save password in my Mac OS keychain”
  12. In the SMTP server box enter: mail.supremecluster.com
  13. Click on the “Click here for advanced sending options” button.
  14. Check the “SMTP server requires authentication” box and close by clicking on the small square in the upper left-hand corner. Click OK.

Your Entourage mail account is now ready to go.