{"id":3397,"date":"2026-11-14T10:11:49","date_gmt":"2026-11-14T04:41:49","guid":{"rendered":"https:\/\/larapush.com\/blog\/?p=3397"},"modified":"2026-11-14T10:11:49","modified_gmt":"2026-11-14T04:41:49","slug":"why-web-push-subscriptions-tied-to-domain","status":"publish","type":"post","link":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/","title":{"rendered":"What Happens to Web Push Subscribers If You Change Domain?"},"content":{"rendered":"\n<p><strong>If you change your domain, your web push subscribers don&#8217;t move with you.<\/strong> Each subscription and notification permission belongs to the origin that created it, so visitors must allow notifications again on the new domain. Existing subscribers may keep receiving messages for a while if the old domain stays online, but you should plan to rebuild the list.<\/p>\n\n\n\n<p>Changing web push subscribers&#8217; domain is one of those things nobody thinks about until the rebrand is already scheduled. I want to explain the browser rule behind it, what still works after a move, and how to lose as few subscribers as possible. I&#8217;ll stick to how browsers behave, because that part doesn&#8217;t depend on which push tool you use.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_63 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#Why_are_web_push_subscriptions_tied_to_a_domain\" title=\"Why are web push subscriptions tied to a domain?\">Why are web push subscriptions tied to a domain?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#Which_changes_count_as_a_new_domain\" title=\"Which changes count as a new domain?\">Which changes count as a new domain?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#What_happens_to_existing_subscribers_after_the_move\" title=\"What happens to existing subscribers after the move?\">What happens to existing subscribers after the move?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#Can_a_301_redirect_keep_push_subscribers\" title=\"Can a 301 redirect keep push subscribers?\">Can a 301 redirect keep push subscribers?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#How_do_you_keep_as_many_subscribers_as_possible\" title=\"How do you keep as many subscribers as possible?\">How do you keep as many subscribers as possible?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#Can_a_push_provider_move_subscribers_to_a_new_domain_for_you\" title=\"Can a push provider move subscribers to a new domain for you?\">Can a push provider move subscribers to a new domain for you?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#Who_owns_the_subscribers_during_the_move\" title=\"Who owns the subscribers during the move?\">Who owns the subscribers during the move?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#Where_does_LaraPush_fit\" title=\"Where does LaraPush fit?\">Where does LaraPush fit?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#Frequently_asked_questions\" title=\"Frequently asked questions\">Frequently asked questions<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_are_web_push_subscriptions_tied_to_a_domain\"><\/span>Why are web push subscriptions tied to a domain?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Web push subscriptions are tied to a domain because browsers grant notification permission and register service workers per origin. An origin is the scheme, host and port together, such as https:\/\/example.com. A different origin is, to the browser, a different site.<\/p>\n\n\n\n<p>When a visitor subscribes, the browser registers your service worker for that origin and creates a <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/PushSubscription\" target=\"_blank\" rel=\"noreferrer noopener\">PushSubscription<\/a>, an endpoint plus keys. The permission to show notifications is also stored for that origin. MDN&#8217;s guide to the <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/Security\/Same-origin_policy\" target=\"_blank\" rel=\"noreferrer noopener\">same-origin policy<\/a> explains why browsers keep these separate. It&#8217;s a privacy protection: one site can&#8217;t reuse permission given to another.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Which_changes_count_as_a_new_domain\"><\/span>Which changes count as a new domain?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Any change to the scheme, host or port creates a new origin. That includes more changes than people expect, such as moving from www to the bare domain.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Change<\/th><th>New origin?<\/th><th>Subscribers carry over?<\/th><\/tr><\/thead><tbody><tr><td>example.com to newbrand.com<\/td><td>Yes<\/td><td>No<\/td><\/tr><tr><td>www.example.com to example.com<\/td><td>Yes<\/td><td>No<\/td><\/tr><tr><td>http:\/\/ to https:\/\/<\/td><td>Yes<\/td><td>No<\/td><\/tr><tr><td>blog.example.com to example.com\/blog<\/td><td>Yes<\/td><td>No<\/td><\/tr><tr><td>example.com\/old-path to example.com\/new-path<\/td><td>No<\/td><td>Yes, same origin<\/td><\/tr><tr><td>New hosting company, same domain<\/td><td>No<\/td><td>Yes, if the service worker stays at the same URL<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>The last row matters. Moving hosts while keeping the same domain is fine for push, as long as the service worker file is still served at the same path. If you&#8217;re also changing protocol, see <a href=\"https:\/\/larapush.com\/blog\/do-you-need-https-for-web-push\/\">do you need HTTPS for web push<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_happens_to_existing_subscribers_after_the_move\"><\/span>What happens to existing subscribers after the move?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Existing subscriptions don&#8217;t disappear when you move. They still exist in subscribers&#8217; browsers and in your push database, still linked to the old origin. Whether messages keep arriving depends on the old domain and your setup.<\/p>\n\n\n\n<p>Here&#8217;s the key detail. The push service delivers a message to the browser, and the browser wakes the service worker that was registered for the old origin. That worker shows the notification, and its link can point to the new domain. So while the old service worker stays installed and your sending keys stay the same, old subscribers can often still receive messages.<\/p>\n\n\n\n<p>However, I wouldn&#8217;t treat that as a migration. Browsers periodically check the service worker script for updates. If the old domain stops serving it, or redirects it, behaviour becomes unpredictable over time. In addition, new visitors on the new domain can&#8217;t join the old list at all.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Can_a_301_redirect_keep_push_subscribers\"><\/span>Can a 301 redirect keep push subscribers?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>No. A 301 redirect moves visitors and search rankings, but it doesn&#8217;t move notification permission or subscriptions. Browsers also refuse to register or update a service worker script that sits behind a redirect.<\/p>\n\n\n\n<p>So the usual SEO move of redirecting every URL can break push on the old origin. If you want old subscribers to keep receiving messages for a while, keep serving the service worker file on the old domain with a normal 200 response. Redirect everything else.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_do_you_keep_as_many_subscribers_as_possible\"><\/span>How do you keep as many subscribers as possible?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>You keep the most subscribers by running both domains for a while: send to the old list, link to the new domain, and invite people to subscribe again there. Plan it before the switch, not after.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Install push on the new domain first, so the prompt is ready on day one.<\/li>\n\n\n\n<li>Keep the old domain online, with the service worker file served without a redirect.<\/li>\n\n\n\n<li>Send a short campaign to old subscribers announcing the new address.<\/li>\n\n\n\n<li>Link those notifications to a page on the new domain that shows the subscribe prompt.<\/li>\n\n\n\n<li>Keep sending to the old list until engagement fades, then retire it.<\/li>\n\n\n\n<li>Back up both lists and your keys before you change anything.<\/li>\n<\/ol>\n\n\n\n<p>Expect some loss. Every old subscriber has to click &#8220;Allow&#8221; again, and some won&#8217;t. That&#8217;s normal, and it&#8217;s why a well-timed prompt on the new site matters. My guide to <a href=\"https:\/\/larapush.com\/blog\/push-permission-prompt-best-practices\/\">push permission prompt best practices<\/a> covers how to ask again without annoying people.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Can_a_push_provider_move_subscribers_to_a_new_domain_for_you\"><\/span>Can a push provider move subscribers to a new domain for you?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Be careful with any promise of a seamless domain move. The browser rule applies to every tool, so a provider can&#8217;t transfer permission from one origin to another.<\/p>\n\n\n\n<p>What a tool can help with is the work around it. For example, it can let you keep sending to the old list while you build the new one, or copy your settings and templates to the new site. Moving subscribers between push providers on the same domain is a different question, which I cover in <a href=\"https:\/\/larapush.com\/blog\/push-provider-shutdown-subscribers\/\">what happens to subscribers when a push provider shuts down<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Who_owns_the_subscribers_during_the_move\"><\/span>Who owns the subscribers during the move?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>You own the relationship, but the technical list lives wherever your push data is stored. With a SaaS tool, that&#8217;s the vendor&#8217;s database. With a self-hosted panel, it&#8217;s your own server.<\/p>\n\n\n\n<p>That matters during a domain change, because you&#8217;ll want both the old and new lists available for a while. I explain the ownership question in more detail in <a href=\"https:\/\/larapush.com\/blog\/who-owns-push-subscriber-data\/\">who owns push subscriber data<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Where_does_LaraPush_fit\"><\/span>Where does LaraPush fit?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>LaraPush is a self-hosted panel, so subscriber tokens and keys stay on your own server, and one licensed server can run unlimited domains. That means you can add the new domain as a new site while the old one keeps running. Project cloning can duplicate a working setup onto a new domain, so you don&#8217;t rebuild settings from scratch.<\/p>\n\n\n\n<p>It doesn&#8217;t change the browser rule: subscribers still need to allow notifications on the new domain. For anything beyond that, contact the LaraPush team or check the <a href=\"https:\/\/larapush.com\/guide\/\">setup guide<\/a>. You run the VPS, the licence covers one server, and there&#8217;s no free plan; see the <a href=\"https:\/\/larapush.com\/pricing\/\">pricing page<\/a> and the <a href=\"https:\/\/larapush.com\/features\/\">features overview<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Frequently_asked_questions\"><\/span>Frequently asked questions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1763103000000\"><strong class=\"schema-faq-question\">Do I lose push subscribers if I change my domain name?<\/strong> <p class=\"schema-faq-answer\">You can&#8217;t carry them over automatically, because subscriptions and permission belong to the old origin. Old subscribers may still receive messages for a while if the old domain keeps serving the service worker. To keep them long term, invite them to subscribe again on the new domain.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1763103001111\"><strong class=\"schema-faq-question\">Does moving from www to non-www affect web push?<\/strong> <p class=\"schema-faq-answer\">Yes. www.example.com and example.com are different origins, so subscriptions made on one don&#8217;t apply to the other. Pick one version before collecting subscribers and redirect the other. If you already have subscribers, treat the switch like any other domain change.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1763103002222\"><strong class=\"schema-faq-question\">Can I redirect the old service worker file to the new domain?<\/strong> <p class=\"schema-faq-answer\">No. Browsers won&#8217;t register or update a service worker script served through a redirect, and a cross-origin worker wouldn&#8217;t control the old origin anyway. Keep serving the service worker on the old domain with a normal response while you move subscribers over.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1763103003333\"><strong class=\"schema-faq-question\">Does changing hosting companies affect push subscribers?<\/strong> <p class=\"schema-faq-answer\">Not if the domain stays the same and the service worker file stays at the same URL. Push subscriptions depend on the origin and your sending keys, not on the hosting company. Move your push database and keys as well if the push server itself is changing.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1763103004444\"><strong class=\"schema-faq-question\">How long should I keep the old domain for push?<\/strong> <p class=\"schema-faq-answer\">Keep it as long as old subscribers still click your notifications, often several months. During that time, send occasional campaigns that link to the new domain and invite people to subscribe there. Retire the old list once engagement has clearly faded.<\/p> <\/div><\/div>\n","protected":false},"excerpt":{"rendered":"Web push subscribers don&#8217;t move when you change domain, because permission belongs to the old origin. Here is how to keep as many as you can.","protected":false},"author":7,"featured_media":3405,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","csco_display_header_overlay":false,"csco_singular_sidebar":"","csco_page_header_type":""},"categories":[76],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What Happens to Web Push Subscribers If You Change Domain?<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What Happens to Web Push Subscribers If You Change Domain?\" \/>\n<meta property=\"og:description\" content=\"Web push subscribers don&#039;t move when you change domain, because permission belongs to the old origin. Here is how to keep as many as you can.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/\" \/>\n<meta property=\"og:site_name\" content=\"LaraPush Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-14T04:41:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/why-web-push-subscriptions-tied-to-domain.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ritesh Das\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ritesh Das\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/\"},\"author\":{\"name\":\"Ritesh Das\",\"@id\":\"https:\/\/larapush.com\/blog\/#\/schema\/person\/4f23894f98426ea3a6bd617e59f03bbd\"},\"headline\":\"What Happens to Web Push Subscribers If You Change Domain?\",\"datePublished\":\"2026-11-14T04:41:49+00:00\",\"dateModified\":\"2026-11-14T04:41:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/\"},\"wordCount\":1368,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/larapush.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/why-web-push-subscriptions-tied-to-domain.jpg\",\"articleSection\":[\"FAQs\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#respond\"]}]},{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/\",\"url\":\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/\",\"name\":\"What Happens to Web Push Subscribers If You Change Domain?\",\"isPartOf\":{\"@id\":\"https:\/\/larapush.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/why-web-push-subscriptions-tied-to-domain.jpg\",\"datePublished\":\"2026-11-14T04:41:49+00:00\",\"dateModified\":\"2026-11-14T04:41:49+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#breadcrumb\"},\"mainEntity\":[{\"@id\":\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103000000\"},{\"@id\":\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103001111\"},{\"@id\":\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103002222\"},{\"@id\":\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103003333\"},{\"@id\":\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103004444\"}],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#primaryimage\",\"url\":\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/why-web-push-subscriptions-tied-to-domain.jpg\",\"contentUrl\":\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/why-web-push-subscriptions-tied-to-domain.jpg\",\"width\":1200,\"height\":675,\"caption\":\"Illustration of web push subscribers and a domain change between two sites\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/larapush.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What Happens to Web Push Subscribers If You Change Domain?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/larapush.com\/blog\/#website\",\"url\":\"https:\/\/larapush.com\/blog\/\",\"name\":\"LaraPush Blog\",\"description\":\"Stay Ahead, Stay Notified with LaraPush!\",\"publisher\":{\"@id\":\"https:\/\/larapush.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/larapush.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/larapush.com\/blog\/#organization\",\"name\":\"LaraPush\",\"url\":\"https:\/\/larapush.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/larapush.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2022\/05\/LARAPUSH.png\",\"contentUrl\":\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2022\/05\/LARAPUSH.png\",\"width\":280,\"height\":60,\"caption\":\"LaraPush\"},\"image\":{\"@id\":\"https:\/\/larapush.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/larapush.com\/blog\/#\/schema\/person\/4f23894f98426ea3a6bd617e59f03bbd\",\"name\":\"Ritesh Das\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/larapush.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1bd7bb0ba68e36b218587b72e89e511f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1bd7bb0ba68e36b218587b72e89e511f?s=96&d=mm&r=g\",\"caption\":\"Ritesh Das\"},\"url\":\"https:\/\/larapush.com\/blog\/author\/riteshdas\/\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103000000\",\"position\":1,\"url\":\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103000000\",\"name\":\"Do I lose push subscribers if I change my domain name?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"You can't carry them over automatically, because subscriptions and permission belong to the old origin. Old subscribers may still receive messages for a while if the old domain keeps serving the service worker. To keep them long term, invite them to subscribe again on the new domain.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103001111\",\"position\":2,\"url\":\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103001111\",\"name\":\"Does moving from www to non-www affect web push?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Yes. www.example.com and example.com are different origins, so subscriptions made on one don't apply to the other. Pick one version before collecting subscribers and redirect the other. If you already have subscribers, treat the switch like any other domain change.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103002222\",\"position\":3,\"url\":\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103002222\",\"name\":\"Can I redirect the old service worker file to the new domain?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"No. Browsers won't register or update a service worker script served through a redirect, and a cross-origin worker wouldn't control the old origin anyway. Keep serving the service worker on the old domain with a normal response while you move subscribers over.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103003333\",\"position\":4,\"url\":\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103003333\",\"name\":\"Does changing hosting companies affect push subscribers?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Not if the domain stays the same and the service worker file stays at the same URL. Push subscriptions depend on the origin and your sending keys, not on the hosting company. Move your push database and keys as well if the push server itself is changing.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103004444\",\"position\":5,\"url\":\"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103004444\",\"name\":\"How long should I keep the old domain for push?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Keep it as long as old subscribers still click your notifications, often several months. During that time, send occasional campaigns that link to the new domain and invite people to subscribe there. Retire the old list once engagement has clearly faded.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What Happens to Web Push Subscribers If You Change Domain?","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/","og_locale":"en_US","og_type":"article","og_title":"What Happens to Web Push Subscribers If You Change Domain?","og_description":"Web push subscribers don't move when you change domain, because permission belongs to the old origin. Here is how to keep as many as you can.","og_url":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/","og_site_name":"LaraPush Blog","article_published_time":"2026-11-14T04:41:49+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/why-web-push-subscriptions-tied-to-domain.jpg","type":"image\/jpeg"}],"author":"Ritesh Das","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ritesh Das","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#article","isPartOf":{"@id":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/"},"author":{"name":"Ritesh Das","@id":"https:\/\/larapush.com\/blog\/#\/schema\/person\/4f23894f98426ea3a6bd617e59f03bbd"},"headline":"What Happens to Web Push Subscribers If You Change Domain?","datePublished":"2026-11-14T04:41:49+00:00","dateModified":"2026-11-14T04:41:49+00:00","mainEntityOfPage":{"@id":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/"},"wordCount":1368,"commentCount":0,"publisher":{"@id":"https:\/\/larapush.com\/blog\/#organization"},"image":{"@id":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#primaryimage"},"thumbnailUrl":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/why-web-push-subscriptions-tied-to-domain.jpg","articleSection":["FAQs"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#respond"]}]},{"@type":["WebPage","FAQPage"],"@id":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/","url":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/","name":"What Happens to Web Push Subscribers If You Change Domain?","isPartOf":{"@id":"https:\/\/larapush.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#primaryimage"},"image":{"@id":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#primaryimage"},"thumbnailUrl":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/why-web-push-subscriptions-tied-to-domain.jpg","datePublished":"2026-11-14T04:41:49+00:00","dateModified":"2026-11-14T04:41:49+00:00","breadcrumb":{"@id":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#breadcrumb"},"mainEntity":[{"@id":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103000000"},{"@id":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103001111"},{"@id":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103002222"},{"@id":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103003333"},{"@id":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103004444"}],"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#primaryimage","url":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/why-web-push-subscriptions-tied-to-domain.jpg","contentUrl":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/why-web-push-subscriptions-tied-to-domain.jpg","width":1200,"height":675,"caption":"Illustration of web push subscribers and a domain change between two sites"},{"@type":"BreadcrumbList","@id":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/larapush.com\/blog\/"},{"@type":"ListItem","position":2,"name":"What Happens to Web Push Subscribers If You Change Domain?"}]},{"@type":"WebSite","@id":"https:\/\/larapush.com\/blog\/#website","url":"https:\/\/larapush.com\/blog\/","name":"LaraPush Blog","description":"Stay Ahead, Stay Notified with LaraPush!","publisher":{"@id":"https:\/\/larapush.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/larapush.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/larapush.com\/blog\/#organization","name":"LaraPush","url":"https:\/\/larapush.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/larapush.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2022\/05\/LARAPUSH.png","contentUrl":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2022\/05\/LARAPUSH.png","width":280,"height":60,"caption":"LaraPush"},"image":{"@id":"https:\/\/larapush.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/larapush.com\/blog\/#\/schema\/person\/4f23894f98426ea3a6bd617e59f03bbd","name":"Ritesh Das","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/larapush.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1bd7bb0ba68e36b218587b72e89e511f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1bd7bb0ba68e36b218587b72e89e511f?s=96&d=mm&r=g","caption":"Ritesh Das"},"url":"https:\/\/larapush.com\/blog\/author\/riteshdas\/"},{"@type":"Question","@id":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103000000","position":1,"url":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103000000","name":"Do I lose push subscribers if I change my domain name?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"You can't carry them over automatically, because subscriptions and permission belong to the old origin. Old subscribers may still receive messages for a while if the old domain keeps serving the service worker. To keep them long term, invite them to subscribe again on the new domain.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103001111","position":2,"url":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103001111","name":"Does moving from www to non-www affect web push?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Yes. www.example.com and example.com are different origins, so subscriptions made on one don't apply to the other. Pick one version before collecting subscribers and redirect the other. If you already have subscribers, treat the switch like any other domain change.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103002222","position":3,"url":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103002222","name":"Can I redirect the old service worker file to the new domain?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"No. Browsers won't register or update a service worker script served through a redirect, and a cross-origin worker wouldn't control the old origin anyway. Keep serving the service worker on the old domain with a normal response while you move subscribers over.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103003333","position":4,"url":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103003333","name":"Does changing hosting companies affect push subscribers?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Not if the domain stays the same and the service worker file stays at the same URL. Push subscriptions depend on the origin and your sending keys, not on the hosting company. Move your push database and keys as well if the push server itself is changing.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103004444","position":5,"url":"https:\/\/larapush.com\/blog\/why-web-push-subscriptions-tied-to-domain\/#faq-question-1763103004444","name":"How long should I keep the old domain for push?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Keep it as long as old subscribers still click your notifications, often several months. During that time, send occasional campaigns that link to the new domain and invite people to subscribe there. Retire the old list once engagement has clearly faded.","inLanguage":"en-US"},"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/posts\/3397"}],"collection":[{"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/comments?post=3397"}],"version-history":[{"count":1,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/posts\/3397\/revisions"}],"predecessor-version":[{"id":3406,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/posts\/3397\/revisions\/3406"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/media\/3405"}],"wp:attachment":[{"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/media?parent=3397"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/categories?post=3397"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/tags?post=3397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}