Redirect domains in Safari, hosts‑file style.

The address is rewritten before Safari connects: path and query are kept, and certificates stay valid.

Free · Pro one-time unlock · iPhone and iPad · Safari only

How it works

You write a rule once. From then on, every link to that domain opens on the other one, with the rest of the address untouched.

old.example.com/docs?x=1→new.example.net/docs?x=1

  1. Write the rule

    In the app, enter a domain and where it should go: old.example.com → new.example.net.

  2. Turn on the extension

    Settings → Apps → Safari → Extensions → HostRedirect: allow it, and allow it on all websites.

  3. Open the link

    Safari goes straight to the destination. No warning, no extra page.

Who it's for

Developers and testers

Open real links against staging, a local build or an IP address and port.

IT and support

Sites get renamed or migrated; bookmarks and old links keep working.

Many domains

One list, applied everywhere in Safari. Organizations can deliver rules through MDM.

Free and Pro

Free

  • Unlimited simple rules, domain → domain
  • Redirects on or off, also from Safari
  • IP and port targets
  • Import from a file, a link or a QR code
  • Rules from your organization (MDM), always applied
  • English and Italian, full accessibility

Pro

  • Advanced rules: patterns, exclusions, transformations
  • Profiles, switched from Shortcuts, Control Center or the widget
  • Domain blocking and hosts-style lists
  • Rule trace
  • iCloud sync
  • Export as hosts list or MDM configuration
  • Share rules by link or QR code
  • Clean tracking parameters; header rules

Pro is a one-time purchase handled by Apple. Already bought it? Use Restore Purchases in the app.

Questions

Does it work in Chrome, Firefox or Brave on iPhone?

No. HostRedirect is a Safari extension: it works in Safari and in apps that open links in a Safari view.

Why does it ask for “All Websites”?

Safari applies redirect rules only on sites the extension is allowed on, and you decide which domains your rules name. HostRedirect never reads or changes page content.

Do you collect any data?

No. No account, no tracking, no analytics. Your rules stay on your device. Details in the privacy policy.

Are pages that are already open redirected?

No. A new rule applies the next time a page loads, so reload pages that were already open.

Can I share my rules?

Yes, with a link or a QR code. The rules travel in the part of the link after “#”, which browsers never send to this website.