Over the weekend, we completed a significant milestone for Papermark: migrating our entire website and application from papermark.io to our new papermark.com domain.
When we started Papermark, we chose an affordable .io domain as a bootstrapped company with two founders. Like many startups, we believed the domain wasn't critical until the business gained traction. But as our open-source document sharing platform grew, we decided it was time to invest in our brand identity.
We're sharing our journey from papermark.io to papermark.com through these key steps:
The entire process took us just 3 hours to complete (with some preliminary steps like search console verification done a week earlier).
For those unfamiliar, Papermark is an open-source documents and data roooms sharing infrastructure. We are building a modern alternative to DocSend anda data room providers .
Main Papermark use cases:
Learn more about custom use cases and benefits here.
Main benefit: Advanced page by page analytics and link protection settings
Check out our project on GitHub: Papermark GitHub Repository
If you find it useful, we'd appreciate a ⭐!
The primary motivation was credibility and trust.
What started as a side project quickly gained traction when we realized companies were frustrated with outdated interfaces, slow websites, and overpriced fees for document sharing and data rooms.
As one of our early M&A customers told us, "this market is ripe for an 'open source' disruption." The domain upgrade represents our commitment to growing the Papermark brand.
While we're confident in this investment now, we would never have spent $20k on a domain on day zero.
Let's dive into the technical details of our smooth transition.
Before making any changes, we researched domain migration best practices. We consulted with our network on Twitter, used AI tools for guidance, and compiled a comprehensive checklist.
Papermark consists of three main components:
After careful consideration, we opted for a unified approach—migrating everything to the new domain to ensure brand consistency and avoid user confusion.
A week before the migration, we verified papermark.com in both Google Search Console and Bing Webmaster Tools. This crucial step ensured that search engines recognized our new domain and were ready to index it.
Next, we added papermark.com to our Vercel project settings. Vercel's user-friendly dashboard made this process straightforward, allowing us to configure our application to point to the new domain.
We updated all services and configurations tied to our domain:
With the domain change, we needed to update our OAuth callback URLs for services like LinkedIn and Google. This ensured that user logins remained secure and functional.
A critical step was updating all occurrences of papermark.io in our codebase and marketing content to papermark.com. This included hard-coded URLs, metadata, and social links.
To help search engines understand our new structure, we updated our sitemap with the new domain references. This was essential for maintaining our SEO performance during the transition.
We updated all environment variables in Vercel to reflect the new domain, including API endpoints, OAuth settings, and third-party integrations.
Once all configurations were updated, we deployed our application to test everything on the new domain before the official switch. We did experience a brief period of downtime when some custom domain links stopped working, requiring a quick rollback and fix.
To preserve SEO value and provide a seamless user experience, we set up 308 (permanent) redirects from the old domain to the new one. We chose 308 redirects over the traditional 301s because they better handle API redirects with POST requests—some browsers might change the HTTP method to GET when encountering a 301 redirect.
Finally, we utilized Google's Search Console domain migration tools to ensure a smooth SEO transition. We set up separate property moves for our app and marketing domains, allowing Google to properly transfer search rankings and history.
With the migration complete, we're focusing on enhancing the user experience and growing our open-source community. The new domain represents our commitment to building a professional, trusted platform for document sharing.
If you're considering a similar migration or building something in the open-source space, we'd love to hear from you! Check out our evolving project at Papermark.
Feel free to give us a star on GitHub if you found this walkthrough helpful. Happy coding!