Deployment Options
Go live right from Studio on a Nichols Software domain or your own custom one, or - if you'd rather run the finished site yourself - export your project and host it wherever you'd like. Both are real, supported paths to a production site; which one fits depends on how much control over hosting you want.
While you're building: the preview link
Every project gets an automatic preview link (a subdomain) so you can view your work the way a visitor will and share it with others for feedback while you build. Think of this as a staging environment, not your production address.
Exporting for self-hosting Pro
From the Projects page, open a project's Packages menu to export it. A few options are available, depending on how much control you want:
- .NET Core Solution - the full source code as a normal Visual Studio solution (.sln, .csproj, Razor views, C# controllers, everything). Open it in Visual Studio to read the generated code, customize it, or add your own features beyond what Page Builder and the CRM support out of the box.
- IIS Deployable / Linux Deployable - a self-contained, ready-to-run build for the platform you're deploying to, if you don't need to modify the code and just want to host it. No Visual Studio or .NET SDK required on the target machine.
-
Download Database Backup - a
.bacpacof your project's real database (schema + data), ready to import onto your own SQL Server instance regardless of its version.
What comes with an export: your pages and assets, site settings, the CRM (if
your project has one, including staff logins), per-table CRUD pages, and every
data component on your pages: Queries (with their
/q/ results pages), Reports and Data Grids.
An exported site follows the same rules as your published one:
- Only published pages are included, exactly as last published - unpublished pages and unpublished edits stay in Studio.
- Members-only pages still require visitors to sign in, and your site users can sign in on your own server.
- Contact forms keep working: submissions are saved and notification emails go out through your own SMTP account, set at
/admin/email-settings. - Search, content lists, your redirects, and an automatic
sitemap.xmlandrobots.txtall come along.
Restoring a Database Backup on your own SQL Server
A .bacpac is not a native SQL Server backup file, so SSMS's
regular "Restore Database" wizard won't recognize it (that wizard only understands
.bak/.trn files). It uses a different, dedicated import instead:
- In SSMS's Object Explorer, right-click the Databases folder itself (not an existing database) → Import Data-tier Application...
- Choose Import from local disk and browse to the
.bacpacfile. - Give it a database name on the next screen (it defaults to something based on the filename - rename it to whatever you want the database called locally).
- Review the settings and click Finish. This creates a brand-new database from the file - it's an import, not a restore onto an existing one.
If the wizard reports success but the new database doesn't show up in Object Explorer,
that's just a stale view - right-click Databases →
Refresh (or press F5). If it's still missing after that, confirm which
server/instance you actually imported to (easy to pick the wrong one if you have several
registered) by running SELECT name FROM sys.databases; against it directly.
Once the database exists, point the exported app's /setup wizard's connection
form at it - using SQL Server Authentication (fill in a SQL login and
password) rather than leaving the login blank for Windows/Integrated auth. Windows auth
connects as whatever identity the app's own process is running as (an IIS app pool or
Windows service identity), not as you - if that identity hasn't been granted a SQL Server
login, you'll see a login failure for a name like DOMAIN\MACHINENAME$ (the
computer's own machine account, not your personal login). SQL Authentication sidesteps
that entirely and is the simplest, most reliable option for a self-hosted single-box
setup. Windows auth can still be made to work if you'd rather use it: set the IIS
Application Pool's (or Windows service's) identity to a specific named Windows account
under Advanced Settings → Identity → Custom account, then grant that same
account a SQL Server login (Windows Authentication type) with rights on the database.
Importing and exporting projects
Separate from self-hosting, Export Project Package creates a portable ZIP for backup or for moving a project's content into a different Nichols Software project - useful for cloning a site, migrating between accounts, or keeping an offline backup. You choose what goes in:
- Project settings - project metadata (connection strings are stripped unless you explicitly include them).
- Website settings - header, footer, global CSS/JS, and site-level settings.
- Pages - pick specific pages or all of them, static or CRUD pages.
- Assets - active files (Trash is never included).
- CRUD Workspace - specs and generated workspace configuration.
- Connection string - off by default; only include it in a package you're keeping as a private backup, since it can contain a database password.
To bring a package back in, open Import Project Package on the destination project, upload the ZIP, and choose which of those same pieces to import. Project settings are usually left unchecked on import so the destination project keeps its own identity, and an overwrite option controls whether matching files get replaced or skipped.
Setting up your own server
Exported apps include a first-run setup wizard: point it at a fresh SQL Server (restore the database backup, or start clean) and it's ready to serve traffic. From there it's a standard ASP.NET Core app - deploy it the way you would any other .NET site, on your own server, a VM, or whatever hosting you already use.
Extending with Visual Studio
Because the .NET Core Solution export is ordinary, readable ASP.NET Core MVC source code, you're not limited to what Studio's Page Builder and CRM can do. Add your own controllers, Razor views, background jobs, or integrations directly in Visual Studio, connected to your own SQL Server database.
Publishing without self-hosting Every plan
Studio can also publish a project directly at its own nicholssoftware.us address (or your own domain on Business and Pro - see Custom Domains), for cases where you don't want to manage your own hosting - Free includes one published site. See Plans & Billing for how many published sites your plan allows. Exporting and self-hosting on Pro is there when you want it, not a step every site eventually has to take.
Using your own domain Business & Pro
Type your domain, such as www.yourbusiness.com, in the project's settings and add one CNAME record
pointing to sites.stinkbugsstudio.com where you bought the domain. It's live with a free SSL
certificate, usually within 15 minutes. Step-by-step, including the bare domain: Custom Domains.