An embedded website for your SPEEDTEST CUSTOM™ by Ookla to run from GitHub with your own domain!
-
Head to https://www.ookla.com/speedtest-custom and click on 'Start for Free'
-
Create an account with your preferred license and personal data
-
Login to your account https://account.ookla.com
-
Go to 'Speedtest Custom' and allow cookies for the website
-
Give the Speedtest a custom subdomain (Test URL) and enable HTTPS
Ookla does not allow speedtest.EXAMPLE.COM or test.EXAMPLE.COM
-
Customize your Speedtest in the 'Interface' tab
-
In the 'Servers' tab you can now select your own servers, if available
-
Now add your domain/subdomain (or GitHub subdomain) to your test under 'Embed'
Example: add 'username.github.io', replace username with your GitHub username
-
Press 'Save & Publish' in the top right corner
-
Your Speedtest is now ready and is reachable via the .speedtestcustom.com subdomain from step 5
To publish the Speedtest under your own domain follow these steps
-
Fork this repository with the button in the top right corner
-
Open and edit the
index.html
file -
Change the <iframe src="https://CHANGEME.speedtestcustom.com/"... URL to your subdomain from step 5
-
Save the file and exit the editor
-
Go into the settings of the forked repository and scroll down to 'GitHub Pages'
-
As the website source, select the 'master' branch and hit 'save'
-
After this GitHub should show up your new subdomain with .github.io
-
Now add your Custom domain in the field below and save again
-
Make sure you have added your domain to your control panel in step 8 already
-
Route your Domain DNS with A-RECORDs to the GitHub servers to complete the setup
EXAMPLE.COM 3600 A 185.199.108.153
EXAMPLE.COM 3600 A 185.199.109.153
EXAMPLE.COM 3600 A 185.199.110.153
EXAMPLE.COM 3600 A 185.199.111.153
This code is under MIT license.
Copyright 2020 github.com/master4x
Free Code!