Web Hosting Overview

Web Hosting Overview

Leaseweb offers managed shared Web Hosting services. Currently, we have different platforms offering Linux Web Hosting and Windows Web Hosting. Both platforms are monitored 24/7 by our highly skilled Shared Hosting Operations team.

For our Legacy Platform please see the Manage tab. Be Informed that we are planning to migrate all existing domains of our Legacy Platform in to our New Platform all customers will be informed in advance.

For our New Web Hosting Platform please see below.

Types and sizes of Web Hosting packages

Leaseweb provides Web Hosting packages with the following specifications:

Please note that there is no PHP available on the Windows Web-Hosting package!

FeatureLinux NLWindows NLLinux US
Operating systemCloudLinuxServer 2019Ubuntu
Web serverNgnix 1.20IIS 10Apache 2.4
Scripting language(s)PHP 7.4
PHP 8.0
PHP 8.1
ASP 10.0.17763.1
ASP.NET 3.5.30729.4926,
ASP.NET 4.8.0
PHP 7.2
Database serverMariaDB 10.3MariaDB 10.11
MSSQL 2019
MariaDB 10.1
Control panelPlesk 18.0Plesk 18.0Plesk 17.8
Available sizesS, M, LS, M, LS, M, L
SNI SupportYesYesYes
IPV4YesYesYes
IPV6YesYesNo
  • Sizes (SML): For detailed specifications of the Web Hosting pack sizes, please visit Web Hosting section.
  • Types (LinuxWindows): You can also check our Web Hosting section for current supported specifications.
  • Our Web-Hosting supports the FTP and FTPS (FTP over SSL) protocol.
  • We use SNI on our Web-Hosting platforms so no additional ip address is needed for SSL.

If you require additional details on our Web Hosting packages, please contact our team at domains@leaseweb.com.

Web Hosting packages are applicable for a 1-year contract term and billing frequency.

Limitations of Web Hosting pack

Please see the following limitations for the Web Hosting packages:

  • Users can do 150.000 MySQL database queries per hour. If the limit is exceeded, the database cannot be accessed until the next hour. This limit is fixed and there is no grace period.
  • All limits are fixed within the chosen package. If you need more resources, you can upgrade your package to the next available package by contacting domains@leaseweb.com.
  • Cron jobs or scheduled tasks are not provided on any of the hosting packages.
  • ColdFusion is not supported.
  • Tomcat is not supported.
  • Mailing lists (module known as mailman) is not supported.

Domain name hosted with Web Hosting pack

Hosting your domain under Web Hosting pack

You can host your website under one domain, and you can link multiple aliases to this website.

Using a domain name with Leaseweb’s Web Hosting pack

When ordering a Web Hosting pack with Leaseweb you can assign the Web Hosting pack to a new domain name (to be registered) or to an existing domain name (already registered). But the first step is to choose the package that you would like, either Small, Medium or Large

For an existing domain name, you can either transfer the domain name registration to Leaseweb or you can choose to maintain the domain name registration at a different registrar.

Creating the Web Hosting pack for a new domain name (to be registered)

When you order online a Web Hosting pack for a new domain name, first select Buy Domain Name first from the link provided below to obtain your domain.

It will redirect you to the domain order page, where you will be able to purchase your new domain name.

Creating the Web Hosting pack for an existing domain name (already registered)

When you order online a Web Hosting pack for an existing domain name, first you need to enter the domain name to field below Link your domain name to our package. After that you need to select the correct tld next to the domain name.

Be aware to select the Data Center Location where you want to have you Web Hosting Pack from the dropdown list, and click to Add to cart button.

Screenshot 2024 10 10 at 10.36.50

Note: if you would like to transfer your domain to Leaseweb first follow the same steps from above section: Creating the Web Hosting pack for a new domain name.

Using DNS records for your domain hosted under a Web Hosting pack

Domain name DNS records are assigned during the setup of the Web Hosting pack and you can view and edit them from the customer portal (Domains->View/Edit)

To know more about the most used DNS record types, please visit: DNS records types.

Setting email accounts for your domain

Mail packs are no longer offered separately by Leaseweb. 
We only provide email accounts through our Web Hosting packages.
For each email account, you will have a 5 GB mailbox space. The maximum amount of accounts is 250.

Email accounts are managed via the customer portal. Our article Configuring Email Settings provides additional details on how you can set the emails.

How to articles for the web hosting Plesk panel

How to use our New Customer Portal overview

  1. Login to Customer portal, and choose Hosting → Domain, Hosting & Email
  2. Select your domain and press Manage Web-Hosting
    72942000
  3. Here you can find useful information related to your Web-Hosting and also edit users:
    72941988
    • Here you can find Contract details as well as Usage details.
    • Here you can also find and access the respective Panel URL of your domains platform.
    • At Users tab you can find, copy and reset your login credentials for the Plesk users platform as well as FTP users credentials see below articles.
    • Here you can also find what IPV4 or IPV6 your domain is using.

How to reset the password of your Plesk username.

In case your current credentials are not valid we advise to reset password and try again.

  1. Login to Customer portal and choose Hosting → Domain, Hosting & Email
  2. Select your domain and press Manage Web-Hosting
    72942000
  3. Select UsersScreenshot 2022 10 31 at 10.43.42
  4. Press ResetScreenshot 2022 10 31 at 10.45.29A

How to reset the password of your FTP user

In case your current credentials are not valid we advise to reset password and try again.

Please note that your FTP username is not the same as your Plesk username. The steps here below show you how to lookup your username and password:

  1. Login to Customer portal and choose Hosting → Domain, Hosting & Email
  2. Select your domain and press Manage Web-Hosting72942000
  3. Select UsersScreenshot 2022 10 31 at 10.43.42
  4. Locate FTP Username and Password Press Reset:
    Screenshot 2022 10 31 at 11.18.07
  5. Open the Web-Hosting Plesk panel and login to your account with your new reset password.
    72941992

How to create an additional web hosting Plesk user.

On this page you will find a step by step guide how to create an additional Plesk user for our web hosting platform. With this additional user you or somebody you want can login to plesk and manage one or multiple of your subscriptions.

  1. Open the Web-Hosting Plesk panel and login to your account.
    72941992
  2. Click on the Users link in the menu on the left.
    72941999
  3. Click on the Create User Account button
    72941987
  4. Fill in the form as desired and click OK to add the user.
    72941998

An additional Plesk user is now created and can be used.

How to enable two factor authentication for Plesk users.

  1. Open the web-hosting Plesk panel login page and login to your account
    72941992
  2. Click on the Google Authenticator link in the menu on the right
    103776270
  3. Click on Enable Multi-factor Authentication follow the instructions shown on the page and click OK.
    103776269

From now on, you will be asked for a second validation to login to Plesk.

How to choose PHP Handlers

Within Leaseweb Customer Portal

  1. Login to Customer portal, and choose Hosting → Domain, Hosting & Email
  2. Select your domain and press Manage Webhosting
    72942000
  3. Click on PHP 
    116064260
  4. Choose PHP version press Activate selected version (This function is available on only Linux Web-Hosting)Screenshot 2024 03 21 at 10.52.20

Now your respective PHP version has been set for your website.

Within Plesk web hosting panel

  1. Open the web-hosting plesk panel login page and login to your account
    72941992
  2. Click on the PHP Selector link in the menu on the left72941978
  3. Choose PHP versionScreenshot 2022 10 26 at 14.05
  4. Press Set as Current and your respective PHP version has been set for your website.Screenshot 2022 10 26 at 14.05 1
  5. It is also possible to enable or disable certain php modules/extensions from the same page. Also, if you want to configure some php related settings such as memory_limit, upload_max_filesize, etc, it can be done from the Options page,
    123076769

How to manage SSL Certificates

Within Leaseweb Customer Portal

  1. Login to Customer portal, and choose Hosting → Domain, Hosting & Email
    • Select your domain and press Manage Webhosting72942000
  2. Select Certificates:116064645
  3. Here you can select free Let’s Encrypt Certificate or Upload your own certificate
    • For Let’s Encrypt Certificate simply press the button Request Let’s Encrypt  and press Yes
    • Make Sure you have an Valid A record pointing to the correct Web-Hosting platform. 116064644
  4. To Upload a custom Certificate simply press the button Upload custom certificate
    • Here you have to add following values Provided by the Certificate issuer
    • CSR, Private Key, Certificate, Ca-Bundle
    • Once all of the above steps are done Press Upload certificate in the bottom of the pop up window 116064643

Within Plesk web hosting panel

  1. Open the webhosting Plesk panel login page and login to your account
    Screenshot 2022 10 31 at 12.11.43
  2. Select your domain and the press SSL/TLS Certificates:72941990
  3. Here you can select free Lets Encrypt Certificate or Upload your own certificate as well as Manage your certificates. 72941989
  4. Furthermore you can check at following link for any Plesk SSL related article:
    https://support.plesk.com/hc/en-us/search?utf8=%E2%9C%93&query=ssl+certificate

How to manage databases within the Plesk web hosting panel

Create a new database

  1. Open the Web-Hosting Plesk panel login page and login to your account
    85327882
  2. Click on the Databases link in the menu on the left
    72941997
  3. Choose a domain
    72941996
  4. Click on the Add Database button.
    72941995
  5. Fill in the information as desired and click on the OK button.
    72941986
  6. Now the new database is created
    72941985

Edit an existing database

  1. Open the Web-Hosting Plesk panel login page and login to your account
    85327882
  2. Click on the Databases link in the menu on the left72941997
  3. Choose a domain72941996

Edit tables or content

  1. Click on the PhpMyAdmin option
    72941984
  2. Within the phpMyAdmin popup screen you can edit tables or content
    1607740

Edit the database user

  1. Click on the user to go to the edit user page
    72941983
  2. Edit the user as desired and click on the OK button
    72941982

Export/Import a database dump

  1. Open the Web-Hostin Plesk panel login page and login to your account.
    85327882
  2. Click on the Databases link in the menu on the left
    72941997
  3. Choose a domain
    72941996

Import a dump

  1. Click on the Import Dump option
    72941975
  2. Within the popup window choose a file by Upload or by Import and press the OK button
    72941993

Delete a database

  1. Open the Web-Hosting Plesk panel login page and login to your account.
    85327882
  2. Click on the Databases link in the menu on the left
    72941997
  3. Choose a domain
    72941996
  4. Click on the Remove Database option
    72941974
  5. Now the database is deleted
    72941991

How to Whitelist IP’s to access MSSQL databases on Windows Platform

This Whitelist is providing access to MSSQL Database port:1433.

  1. Login to Customer portal, and choose Hosting → Domain, Hosting & Email
    a. Select your domain and press Manage Web-HostingScreenshot 2022 10 31 at 11.09.25 1
  2. Select Mssql WhitelistScreenshot 2024 03 12 at 11.13.20
  3. Add your IPv4 and press the + button
    115212334
  4. To delete simply next to an existing IP press the Delete button.
    115212333

How to Change .NET version for Windows Web Hosting through the Customer Portal

  1. Login to Customer Portal, and choose Hosting → Domain, Hosting & Email
    a. Select your domain and press Manage Web-HostingScreenshot 2022 10 31 at 11.09.25 1
  2. This function is available on only Windows Web-HostingScreenshot 2024 04 12 at 15.38.11
  3. Press .NET on the top (This function is available on only Windows Web-Hosting)
    a. Here you can choose an available version and press  to activate the selected version.116064642

How to Auto Login to Plesk panel

  1. Login to the Customer Portal, and choose Hosting → Domain, Hosting & EmailScreenshot 2022 10 31 at 11.09.25
  2. Select your domain and press Manage Web-Hosting
  3. Here, click on the Auto Login link from the bottom right corner of the Pack Details sectionimage 2024 7 12 18 21 14
  4. Upon clicking the Auto Login link, it will redirect to the Plesk panel in a new browser tab and automatically login
    • If you have enabled 2 Factor Authentication, it will display a pop-up screen as below. Here you have to enter the 2-factor auth code that displays in your authentication app.
  5. Enter the correct code and click OK to automatically login to the Plesk panelimage 2024 7 12 17 51 57

The login token is generated based on the user’s IP address; hence, the Auto Login URL will work only from the IP address from which the token was generated.   

Adding a website to hosts file and testing it

In many cases you might be transferring a website from another hosting platform to one of the Leaseweb’s web hosting servers. This page provides you instructions on how you can test the website functionality without making any changes to the domain’s DNS records. You need to know the new IP address of the web hosting server. You can usually find this from the order confirmation email/details.

The host’s file is one of the several system facilities that assists in addressing network nodes in a computer network. It is a common part of an operating system’s Internet Protocol (IP) implementation and serves the function of translating hostnames into numeric protocol addresses, called IP addresses, that identify and locate a host in an IP network.

In some operating systems, the contents of the hosts file is used preferentially to other name resolution methods such as the Domain Name System (DNS), but many systems implement name service switches to provide customization, such as nsswitch.conf for Linux and UNIX. Unlike remote DNS resolvers, the hosts file is under the direct control of the administrator of the local computer.

Editing the hosts file

In Linux

Most of the Linux distributions use the hosts file at /etc/hosts. You will need root/sudo access to edit this file. Use your favorite editor to open the file. By default, it looks something like this:

127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback

To add your domain for testing purposes, in the hosts file, you need to specify what domain points to which IP address. In this example, we will use the IP address 192.168.0.1 and the domain example.com. You will need to add the line:

192.168.0.1 www.example.com example.com

The file should look like this after editing:

127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
192.168.0.1 www.example.com example.com 

Save the file. All requests for the domain www.example.com and example.com will direct to the specified IP (192.168.0.1).

In Windows

In Windows XP and higher versions, the hosts file is located in %SystemRoot%\system32\drivers\etc\hosts, where %SystemRoot% is the directory where Windows has been installed.

By default, this should be C:\Windows\System32\drivers\etc\hosts. You can edit the file with notepad, but in most cases, you will have to do this as an admin user. To do this:

  1. Click the Start menu.
  2. Select All Programs.
  3. Select Accessories.
  4. Right-click on Notepad and select Run as administrator.
  5. Browse to the following path: %SystemRoot%\system32\drivers\etc\ (or as by default C:\Windows\System32\drivers\etc\).
  6. You will need to choose that instead of showing Text Documents (*.txt) you will see all files in the directory.
  7. Open the hosts file.

By default, there should be no entries. You can add new entries after the comment lines that starts with #. After editing, the file should look like this:

.
.
.
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost192.168.0.1 www.example.com example.com

In Mac OS X

Mac OS X stores the hosts file at /etc/private/hosts. Easiest way to edit this is from the Terminal. You can do this either by typing “Terminal” into Spotlight or by opening Finder and navigating to Applications > Utilities > Terminal. To open the hosts file for editing, type:

sudo nano /etc/private/hosts

The file itself should look the same as in Linux or any other *nix system. You can add the the new IP for the domain:

127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
192.168.0.1 www.example.com example.com

Testing the hosts file

Pinging the domain name is the easiest way to test if the newly configured IP is working. Tools like dig, nslookup, and host use the DNS data to retrieve information – because of this you don’t see the changes in effect.

To test that the domain is pointed to the correct IP in your hosts file, type the following:

ping www.example.com

The response should come from the newly configured IP:

PING www.example.com (192.168.0.1) 56(84) bytes of data.
64 bytes from www.example.com (192.168.0.1): icmp_req=1 ttl=58 time=1.40 ms
64 bytes from www.example.com (192.168.0.1): icmp_req=2 ttl=58 time=1.31 ms
64 bytes from www.example.com (192.168.0.1): icmp_req=3 ttl=58 time=1.36 ms
64 bytes from www.example.com (192.168.0.1): icmp_req=4 ttl=58 time=1.36 ms

In Linux or Mac OS X, you can use ping from the Shell or Terminal respectively. In Windows, you will need to open the command line: Press CTRL + Windows button on the keyboard. In the pop-up window, type cmd and hit enter.

Web Hosting Overview - Manage

Web Hosting Legacy Platform

Leaseweb offers managed shared Web Hosting services. Currently, we have different platforms offering Linux Web Hosting and Windows Web Hosting. Both platforms are monitored 24/7 by our highly skilled Shared Hosting Operations team.

Types and sizes of Web Hosting packages

Leaseweb provides Linux and Windows Web Hosting packages with the following specifications:

  • For Old Web Hosting location NL
Feature Linux NL Windows NL
Operating system Ubuntu Server 2012 R2
Web server Apache 2.4 IIS 8.5
Scripting language(s) PHP 7.2 ASP.NET 4.6
ASP.NET 3.5
Database server MySQL 5.7 MSSQL 2014
MySQL 5.5
Control panel Plesk 12.5 Plesk 12.5
Available sizes S, M, L, XL S, M, L, XL
SNI Support Yes Yes
IPv4 Yes Yes
IPv6 No No

 

  • Sizes (SMLXL): For detailed specifications of the Web Hosting pack sizes, please visit Web Hosting section (click “Expand All+” to view all specifications).
  • Types (LinuxWindows): You can also check our Web Hosting section for current supported specifications.
  • Our Web-Hosting supports the FTP and FTPS (FTP over SSL) protocol.
  • We use SNI on our Web-Hosting platforms so no additional ip address is needed for SSL.

If you require additional details on our Web Hosting packages, please contact our team at domains@leaseweb.com.

Web Hosting packages are applicable for a 1-year contract term and billing frequency.

Limitations of Web Hosting pack

Please see the following limitations for the Web Hosting packages:

  • Users can do 150.000 MySQL database queries per hour. If the limit is exceeded, the database cannot be accessed until the next hour. This limit is fixed and there is no grace period.
  • All limits are fixed within the chosen package. If you need more resources, you can upgrade your package to the next available package by contacting domains@leaseweb.com.
  • Cron jobs or scheduled tasks are not provided on any of the hosting packages.
  • ColdFusion is not supported.
  • Tomcat is not supported.
  • Mailing lists (module known as mailman) is not supported.

Domain name hosted with Web Hosting pack

Hosting your domain under Web Hosting pack

You can host your website under one domain, and you can link multiple aliases to this website.

 

Using a domain name with Leaseweb’s Web Hosting pack

When ordering a Web Hosting pack with Leaseweb you can assign the Web Hosting pack to a new domain name (to be registered) or to an existing domain name (already registered).

For an existing domain name, you can either transfer the domain name registration to Leaseweb or you can choose to maintain the domain name registration at a different registrar.

Creating the Web Hosting pack for a new domain name (to be registered)

When you order online a Web Hosting pack for a new domain name, select Purchase a domain name from the dropdown list and click the Check button. If the domain is available, it will be listed as such, together with the option to Buy Selected domain.

 

Creating the Web Hosting pack for an existing domain name (already registered) that needs to be transferred to Leaseweb

When you order online a Web Hosting pack for a domain name that needs to be transferred to LeaseWeb, select Purchase a domain name from the dropdown list and click the Check button. If the domain is already registered, it will be listed as such, together with the option to “Buy selected” domain.

After clicking the button “Buy selected” you will be directed to the next order online page where you can place the authorization code and “Add to cart”.

Creating the Web Hosting pack for an existing domain name (already registered) that uses a different registrar than Leaseweb

You can use your existing domain name for any of our Web Hosting packages. When you order online, select Enter the external domain name from the drop-down list, enter your existing domain name, and click the Add to cart button.

 

Using DNS records for your domain hosted under a Web Hosting pack

Domain name DNS records are assigned during the setup of the Web Hosting pack and you can view and edit them from the customer portal (Domains>View/Edit)

To know more about the most used DNS record types, please visit: DNS records types.

Setting email accounts for your domain

Mail packs are no longer offered separately by Leaseweb. 
We only provide email accounts through our Web Hosting packages.
For each email account, you will have a 5 GB mailbox space. The maximum amount of accounts is 250.

Email accounts are managed via the customer portal. Our article Configuring Email Settings provides additional details on how you can set the emails.

How to articles for the web hosting Plesk panel

How to check if your domain is in Legacy Platform

  1. Login to Customer portal and choose Hosting → Domain, Hosting & Email
    1. Select your domain and press Manage Web-Hosting
    2. Check in the right corner if you see the label Legacy Pack.

    3. If your domain has a Legacy Pack please follow the tab for the legacy Web-Hosting above.

How to reset the password of your Plesk username

  1. Open the web hosting Plesk panel login page and click on the Forgot your password? link
  2. Fill in your Username and Email address used for the web hosting Plesk panel. If you don’t know your Plesk username you can find it the Customer Portal in the right top corner above your name.
  3. Open the email that you received on the email address and click on the link inside.
  4. Fill in your Username and your New Password(twice) and press the OK button.

    Now your web hosting Plesk login credentials are reset and you can login with your new password.

How to reset the password of your FTP user

First of all I would like to inform you that your FTP username is not the same as your Plesk username. The steps here below show you how to lookup your username and password.

  1. Open the Web-Hosting Plesk panel login page and login to your account.
  2. Click on the Web Hosting Access link for the domain you wish to reset the FTP password from.
  3. Generate a new password or type a desired one and click OK to accept the new passwordDo not forget to note down the password or copy paste into a text file as you cannot view it after pressing the OK button.
    The FTP user it’s password is now reset and you can login with the new password over FTP

How to create an additional web hosting Plesk user

On this page you will find a step by step guide how to create an additional Plesk user for our web hosting platform. With this additional user you or somebody you want can login to plesk and manage one or multiple of your subscriptions.

  1. Open the Web-Hosting plesk panel and login to your account.
  2. Click on the Users link in the menu on the left.

  3. Click on the Create User Account button
  4. Fill in the form as desired and click OK to add the user.

An additional Plesk user is now created and can be used.

How to manage databases within the Plesk web hosting panel

Create a new database

  1. Open the Web-Hosting plesk panel login page and login to your account
  2. Click on the Databases link in the menu on the left
  3. Choose a domain
  4. Click on the Add Database button.
  5. Fill in the information as desired and click on the OK button.
  6. Now the new database is created.

Edit an existing database

  1. Open the Web-Hosting Plesk panel login page and login to your account

2.Click on the Databases link in the menu on the left

3. Choose a domain

Edit tables or content

  1. Click on the PhpMyAdmin option

  2. Within the phpMyAdmin popup screen you can edit tables or content

 

Edit the database user

  1. Click on the user to go to the edit user page
  2. Edit the user as desired and click on the OK button

Export/Import a database dump

  1. Open the Web-Hosting plesk panel login page and login to your account.
  2. Click on the Databases link in the menu on the left
  3. Choose a domain

Import a dump

  1. Click on the Import Dump option

  2. Within the popup window choose a file by Upload or by Import and press the OK button

Delete a database

  1. Open the Web-Hosting plesk panel login page and login to your account.
  2. Click on the Databases link in the menu on the left
  3. Choose a domain
  4. Click on the Remove Database option
  5. Now the database is deleted

Adding a website to hosts file and testing it

In many cases you might be transferring a website from another hosting platform to one of the LeaseWeb’s web hosting servers. This page provides you instructions on how you can test the website functionality without making any changes to the domain’s DNS records. You need to know the new IP address of the web hosting server. You can usually find this from the order confirmation email/details.

The hosts file is one of the several system facilities that assists in addressing network nodes in a computer network. It is a common part of an operating system’s Internet Protocol (IP) implementation, and serves the function of translating hostnames into numeric protocol addresses, called IP addresses, that identify and locate a host in an IP network.

In some operating systems, the contents of the hosts file is used preferentially to other name resolution methods such as the Domain Name System (DNS), but many systems implement name service switches to provide customization, such as nsswitch.conf for Linux and UNIX. Unlike remote DNS resolvers, the hosts file is under the direct control of the administrator of the local computer.

Editing the hosts file

In Linux

Most of the Linux distributions use the hosts file at /etc/hosts. You will need root/sudo access to edit this file. Use your favorite editor to open the file. By default it looks something like this:

127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback

To add your domain for testing purposes, in the hosts file, you need to specify what domain points to which IP address. In this example, we will use the IP address 192.168.0.1 and the domain example.com. You will need to add the line:

192.168.0.1 www.example.com example.com

The file should look like this after editing:

127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
192.168.0.1 www.example.com example.com 

Save the file. All requests for the domain www.example.com and example.com will direct to the specified IP (192.168.0.1).

In Windows

In Windows XP and higher versions, the hosts file is located in %SystemRoot%\system32\drivers\etc\hosts, where %SystemRoot% is the directory where Windows has been installed. By default, this should be C:\Windows\System32\drivers\etc\hosts. You can edit the file with notepad, but in most cases you will have to do this as an admin user. To do this:

  1. Click the Start menu.
  2. Select All Programs.
  3. Select Accessories.
  4. Right-click on Notepad and select Run as administrator.
  5. Browse to the following path: %SystemRoot%\system32\drivers\etc\ (or as by default C:\Windows\System32\drivers\etc\).
  6. You will need to choose that instead of showing Text Documents (*.txt) you will see all files in the directory.
  7. Open the hosts file.

By default, there should be no entries. You can add new entries after the comment lines that starts with #. After editing, the file should look like this:

.
.
.
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
192.168.0.1 www.example.com example.com

In Mac OS X

Mac OS X stores the hosts file at /etc/private/hosts. Easiest way to edit this is from the Terminal. You can do this either by typing “Terminal” into Spotlight or by opening Finder and navigating to Applications > Utilities > Terminal. To open the hosts file for editing, type:

sudo nano /etc/private/hosts

The file itself should look the same as in Linux or any other *nix system. You can add the the new IP for the domain:

127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
192.168.0.1 www.example.com example.com

Testing the hosts file

Pinging the domain name is the easiest way to test if the newly configured IP is working. Tools like dig, nslookup, and host use the DNS data to retrieve information – because of this you don’t see the changes in effect.

To test that the domain is pointed to the correct IP in your hosts file, type the following:

ping www.example.com

The response should come from the newly configured IP:

PING www.example.com (192.168.0.1) 56(84) bytes of data.
64 bytes from www.example.com (192.168.0.1): icmp_req=1 ttl=58 time=1.40 ms
64 bytes from www.example.com (192.168.0.1): icmp_req=2 ttl=58 time=1.31 ms
64 bytes from www.example.com (192.168.0.1): icmp_req=3 ttl=58 time=1.36 ms
64 bytes from www.example.com (192.168.0.1): icmp_req=4 ttl=58 time=1.36 ms
  • In Linux or Mac OS X, you can use ping from the Shell or Terminal respectively. In Windows, you will need to open the command line: Press CTRL + Windows button on the keyboard. In the pop-up window, type cmd and hit enter.

 

 

Web Hosting Overview - Frequently Asked Questions

  • I have forgotten my username and/or password for Plesk. Where can I find it?

    If you have lost your Plesk username it is not possible to reset your password. You can find your username in the right top corner of the Customer Portal. When you have your username and email address which is known to us you can reset your password in your Plesk portal. If you don’t know how to do this please see the following guide.

     

  • What is the delivery time for a Web Hosting order?

    Domain names and Web Hosting orders are processed within 1 business day. Please note that this time does not include the order being verified (for new customers) and the payment receipt time (for prepaid customers).

    You will receive a notification email once the Web Hosting package is delivered and ready to use.

     

     

  • How can I redirect my domain name to another domain name when I have a Web Hosting pack?

    For Web Hosting package, you can create redirects by adding a .htaccess file in the root of your Web Hosting pack.

    Web Hosting packages offer the option of adding domain aliases via Plesk. When you add a domain as an alias, it gets linked to an existing website. This newly added domain then appears as the main website.

     

  • How can I cancel my Web Hosting pack with Leaseweb?

    If you do not wish to renew a Web Hosting pack with Leaseweb, you can cancel it from the Leaseweb Customer Portal (under My Account > All services). If you need assistance with cancelling your Web Hosting pack, please contact us at domains@leaseweb.com.

    When cancelling your Web Hosting pack, please make sure to check if other connected services need to be cancelled as well (e.g. domain names, SSL certificates). If so, please make sure to cancel these from the customer portal.

     

  • How can I test my web hosting pack without changing the DNS records?

    When creating a new hosting package, you can test it before making the actual changes in the DNS records by following the instructions mentioned here: Adding a website to hosts file and testing it

    If you have further questions, please contact support@leaseweb.com.

     

  • How can I access Plesk/FTP/FTPS credentials?

    Once the Web Hosting pack is ready to use, you will receive a delivery email containing the Plesk and FTP login credentials, as well as the IP address of your web server.

    SFTP / SSH / SCP access is not possible.

    If you need to reset the credentials for your Plesk or FTP user, you can look at the following page to find out how: Web Hosting Overview

     

  • How can I create or change SQL databases?

    You can create or change SQL databases and their users using the Plesk control panel. From the Plesk interface (under Databases), you can find the server name to use. The Plesk interface also offers access to phpMyAdmin web interface.

     

  • Which web applications are supported on the Web Hosting platforms?

    The following web applications are known to function without problems on the platform.

    • Joomla
    • WordPress
    • Magento
    • Drupal

      Information

    Due to incompatibility between Plesk PHP versions, you might be unable to install (Drupal, WordPress, etc.) CMS packages automatically.
    To avoid misusage, we have temporarily removed this option in Plesk, and you should do installations manually.

     

       Information

       Leaseweb is not managing these products. It’s your responsibility to install and maintain the applications to avoid exploits. Please check with the vendor for information on managing these applications.

     

  • How frequently is my data backed up on your Web Hosting platform?

    All data on all platforms is backed up daily. However, we recommend that you make backup copies of your data as Leaseweb is not liable for any data loss.

    If you need to restore your data, please contact Leaseweb support.

     

  • Only my Wordpress homepage is working. Other pages are giving a 404 not found error.

    When only the homepage is working of your website then the permalinks of your website are broken. This is a common error for WordPress and can easily be fixed.

    Please follow the steps from here below:

    1. Login to wp-admin of your website.
    2. Go to Settings → Permalinks
    3. Remember the current setting or copy paste the Custom Structure. This is very important because you need it in step 6.
    4. Change it to a setting which is different than the current one.
    5. Press Save Changes.
    6. Revert to the setting which you remembered at step 3.
    7. Press Save Changes.
    8. Test your website. In case it does not work yet, feel free to create a ticket in the Customer Portal.

     

  • When does Leaseweb perform maintenance on the Web Hosting platform?

    To keep the platform safe and available, we perform regular maintenance.

    Every third Thursday of the month Leaseweb performs maintenance for the entire Web Hosting platform between 06:00 and 12:00 CET / CEST

    During this maintenance, we perform updates, sometimes causing short outages due to eventual reboots. Please check our Leaseweb Service Status for any updates on the maintenance windows.

     

  • What is my data transfer limit for my Web Hosting package?

    All the web hosting package uses fair use policy for traffic usage. The content is described in the Terms and Conditions document under CHAPTER D. FAIR USE POLICY – 20. SHARED WEB HOSTING SERVICE.

  • Where can I find information about my Web Hosting pack?

    You can see what kind of Web Hosting you have in the customer portal. All other information can be found in the Plesk Panel. For more information about what you get within a Web Hosting pack, please visit to our website.

     

  • What are the errors and workarounds for Joomla installation?

    Joomla Installation

    When you install Joomla, you may get the following error:

    Warning: session_start():open(nfs01.cl2000.ams1.nl.leaseweb.net:11211/
    sess_krido4pps0q0o954m7u4q1iml1, O_RDWR) failed

    Due to the load balancing nature of our web hosting platform, we use a centralized system for storing PHP sessions using Memcache technology. This renders the Joomla installer incapable of handling the web hosting setup.

    Depending on which version of Joomla you are installing, you can use the following workarounds to resolve the issue.

    Workaround for Joomla 2.x:

    1. Open the “session.php” file in an editor by using the following path:
      libraries/joomla/session/session.php
    2. On line 100, replace “ini_set(‘session.save_handler’, ‘files’);” with “//ini_set(‘session.save_handler’, ‘files’);”.
    3. Save the file.
    4. Reupload the file to your web hosting platform using FTP.
    5. Reload the Joomla installer in your browser.


    Workaround for Joomla 3.x:

    1. Open the “none.php” file in an editor using the following path:
      libraries/joomla/session/storage/none.php
    2. On line 31, replace “ini_set(‘session.save_handler’, ‘files’);” with “//ini_set(‘session.save_handler’, ‘files’);”.
    3. Save the file.
    4. Reupload the file to your web hosting platform using FTP.
    5. Reload the Joomla installer in your browser.

     

  • What to do when I am getting 'Client host rejected' error?

    If you receive the following error: #554 5.7.1 Client host rejected: cannot find your hostname

    The mail server checks if the domain from the sending mailserver in its ‘helo’ is the same as the PTR record for its IP address, and if it in turn resolves using an A record. This means that they have to match. If for example a mailserver sends ‘mail.domain.tld’ in its helo message, the A record and PTR record needs to be set to the following for the IP address of the sending mailserver:

    • A – mail.domain.tld
    • PTR – mail.domain.tld

    If this has been set and it resolves as it should, the mailserver will not reject the email anymore.

    If you receive the following error: #450 4.7.1 Client host rejected: cannot find your reverse hostname

    The mail server checks if the IP address from the sending mailserver has a PTR record for its IP address, and if the record resolves back to the IP address.

    Make sure that the sending mail server has a valid PTR record and the email will not be rejected anymore.