ccw
1
Hi,
I am using Cloudflare on my original server. So the DNS in Cloudflare points to the IP address of the original server.
From time to time, I need to test the performance of the original server.
It is possible to update the DNS, wait for 48 hours, and then perform the test. But that is time-consuming and inconvenient.
- Is there an easier way to perform the test?
- Will “Pause Cloudflare on this site” and then test with the domain name https://www.example.com do the work without being affected by Cloudflare?
- Or will https://12.34.56.78 do the work? I try do so but get an NET::ERR_CERT_COMMON_NAME_INVALID error although I have installed SSL on my server.
Thanks
What type of test are you performing? Navigation of the site or pagespeed testing etc?
If it’s navigation of the site, you can temporarily override your local computer’s DNS and override the domain pointing to the real server IP instead. If using Windows you can use something like Hostsman app https://www.addictivetips.com/windows-tips/hostsman-edit-restore-manage-and-merge-multiple-windows-hosts-file/
Or manual Windows DNS host override Temporarily bypassing DNS by modifying the Windows hosts file | Total Uptime®
If it’s Webpagetest.org testing you can use custom script and set setDns override Custom Scripting | WebPageTest Documentation
You would still need to have a valid work SSL certificate and HTTPS setup on your origin web server for this.
ccw
5
What type of test are you performing? Navigation of the site or pagespeed testing etc?
I want to test page speed from various servers from various locations. Like Webpagetest.org, but with more servers, so I use uptrends.
You would still need to have a valid work SSL certificate and HTTPS setup on your origin web server for this.
I have the valid SSL certificate. However, it seems the certificate only works for the domain name, it will not work for an IP address.
sjr
6
Does the test allow you to add any headers to the request? If so, add a header with your domain name…
Host: www.example.com
ccw
7
@eva2000
If it’s Webpagetest.org testing you can use custom script and set setDns override Custom Scripting | WebPageTest Documentation
Thank you. I try to use script in webpagetest to perform the test. However, the test results are inconsistent with Cloudflare’s performance report, see Inconsistent performance results between Cloudflare and Webpagetest
Why?
system
Closed
8
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.