Prerequisites
- An account created on https://cp.blacknighthosting.com
- MEGA, GIGA or TERA hosting plan bought from https://www.blacknight.com/web-hosting/
- Domain name - This would have either been registered, transferred or simply declared when purchasing the hosting plan.
This guide assumes that you have a WordPress website. The process is mostly the same for other applications. If you are not sure, please contact the Blacknight Support team.
Downloading
To transfer your website, you are going to need an FTP client such as FileZilla in order to download and upload your files.
If you do not know your FTP details, go to the following on the old Blacknight Hosting Platform at https://cp.blacknight.com :
- Websites > ‘FTP Access’. Take note of the IP Address here.
- Users > ‘Add New User’
- Create the details from within here. Take note of them.
Identifying Website Locations
Once you have the FTP details, we will need to findind where your site is. On the old Blacknight Hosting Platform, there are 2 locations where your site could be, Web Applications or Uploaded Manually:
To check to see where your site is hosted, first go to:
- Websites > ‘Web Applications’
Is there an entry here? It would more than likely show 123456 - WordPress - example.com - /
- If ‘Yes’ - Take note of the ID number at the beginning
123456We will need this number later on when we connect to FTP. - If ‘No’ - Go back to Website > File Manager
- Are your website files in here?
- If ‘Yes’ - Great, these can be downloaded.
- If ‘No’ - Your site may be hosted elsewhere.
- (If you are unsure, contact the Blacknight Support team)
- Are your website files in here?
Downloading your website files
If your files are either in the Web Applications or have been uploaded manually, open up your FTP Client.
- Your Host is the IP Address that you noted earlier
- Your username and password that you created.
- Port should be the default value of
21
Once you are connected, you will need to go to one of 2 locations:
-
Uploaded Manually -
webspace>httpdocs>example.com -
Web Applications -
webspace>siteapps>WordPress-123456>htdocs- (Note: Older installs of WordPress may not say
WordPressbut just the number123456)
- (Note: Older installs of WordPress may not say
On the left-hand-side window in FileZilla, you will need to create a folder where you can store your files. You can decide where you want to place them.
Highlight all the files and folders and drag-and-drop from the right, to the left.
At the bottom of the screen, you will see the files transferring. Wait until this is completed.
Uploading
To upload your website, you are going to need your FTP Client (FileZilla) and the FTP details.
To get the FTP details on the new Blacknight Hosting Platform at https://cp.blacknighthosting.com, go to:
- Services > My Services
- Click on Website Hosting
- Click on Plesk to log into the web hosting panel.
- Choose your domain and select FTP Access
- Click on the user that is there,
- Take note of the IP Address, the username and the password.
- Create a new password here if you do not know it.
- Once you have those details, you can connect to the server in FileZilla.
- Your Host is the IP Address that you noted earlier
- Your username and password that you created.
- Port should be the default value of
21
- Click into the
public_htmlfolder. Any pre-populated files here can be deleted. - Highlight all of your files and folders from the left side and drag them into the
public_htmlfolder on the right.
Moving the Database
To go alongside your website, you would generally have a database, so we’ll need to move that too.
In the old Blacknight Hosting Platform at https://cp.blacknight.com, go to:
- More Services > Databases
- Select your database
- (If you do not know what this is, check the
wp-config.phpfile from the files that you downloaded. It would be besideDB_NAME)
- (If you do not know what this is, check the
- Click on Browse Database Manager
- Click on the database name on the left-hand side
- Then click Export at the top.
- Click Go to start the download.
You have now downloaded the database. Now to upload to the new Blacknight Hosting Platform https://cp.blacknighthosting.com
- Services > My Services
- Click on Website Hosting
- Click on Plesk to log into the web hosting panel.
- Click on Databases and click on Add Database
- Enter the details for Database name, Database Username and Password, noting down each value.
- Click OK
- Once the database has been created, click on phpMyAdmin
- Just like before, click on the database name on the left-hand side
- Click on Import at the top
- Choose your file that you downloaded and click Go on the bottom right.
Now you will need to associate your website with the new database details.
Go back to your files and edit the wp-config.php
- Replace the
DB_NAMEvalue with the database name - Replace the
DB_USERvalue with the Database username - Replace the
DB_PASSWORDvalue with the Password - Replace the
DB_HOSTwithlocalhost - Either upload your changes to the same place that you uploaded the files.
Now your site should be working on the new Blacknight Hosting Platform.
Install the SSL Certificate
You may want to also move over your SSL Certificate. If you already have the Certificate Files and Private Keys, you can go to the following on the new Blacknight Hosting Platform https://cp.blacknighthosting.com
- Services > My Services
- Click on Website Hosting
- Click on Plesk to log into the web hosting panel.
- Click on SSL/TLS Certificates
- Click Manage and click on Add SSL/TLS Certificate
-
Certificate Name - Give this a name, a good rule of thumb would be
example.com - 2022 - 2023so you know what year the certificate expires. - Scroll down to Upload the certificate files
- You can either choose the files that you have on your local computer OR you can open the files in Notepad (Windows), TextEdit (macOS) and copy-paste the entire files into the boxes.
- Click Upload Certificate once you have done that.
Now to activate the SSL Certificate.
- Go back to Websites & Domains on the top-left.
- Click on the Hosting & DNS tab and choose Hosting Settings
- Scroll down to the Security section and where it says Certificate, choose the SSL Certificate that you just uploaded.
- Click OK/Apply to submit the change.
Change the DNS Records
The last part is to change the DNS Records to point to the new server.
Earlier, in the Uploading section, you would have noted down the IP Address, Username and Password for FTP. We'll use this IP address to point the domain to the new server.
The following assumes that the domain and the Nameservers are with Blacknight.
If you are using a 3rd party DNS Provider like CloudFlare, Microsoft or AWS, you will need to add the record on there.
Go to the following within the Blacknight Control Panel https://cp.blacknighthosting.com
- Domains >> Manage DNS Records
- Click the pencil beside your domain name.
- In here, you will have the following record:
-
Name:
@ -
Type:
A -
TTL:
3600 -
RData:
123.123.123.123(This is just an example)
-
Name:
- And the 2nd record
-
Name:
www -
Type:
A -
TTL:
3600 -
RData:
123.123.123.123(This is just an example)
-
Name:
- Click on the pencil on the right of each of these 2 records, and replace the
123.123.123.123number with the IP Address that you noted down before from the Uploading section. - Click Confirm.
- Within an hour or two, the website on the new server will go live.
Further Queries
If you have any queries on this, please contact our Support team - see the following for our contact details:
Comments
0 comments
Article is closed for comments.