🎉 Introducing BrowserStack Website Scanner — a no-code tool to instantly scan, find, and fix critical website issues. Scan your site for free!

How can we help?

Get help or connect with the developer community

Why is my URL redirected to http://bs-local.com from http://localhost?

We currently do not support http://localhost due to restrictions from Safari in iOS version 10 and higher. To make sure that your website loads properly, with local enabled, we modify the URL to http://bs-local.com. This will help load all the assets in an expected manner.In case of manual testing sessions, if you are not able to reach http://localhost from Safari in iOS version 10 and higher, try directly using http://bs-local.com.
In case of automated tests, if your API requests fail while accessing http://localhost endpoint on Safari in iOS version 10 and higher, you can change your endpoint to http://bs-local.com for all your API calls.

Thank you for your co-operation in understanding the limitation.

Other Resources

Still can’t find what you are looking for?

We are always happy to help with any questions

Support resources Contact Us