Choosing hosting for an ASP.NET website: what to check before you pay
"Best hosting" lists age quickly: prices change, companies are bought, plans disappear. What does not change is the set of technical questions that decide whether an ASP.NET application will run well on a given host. This guide gives you those questions, so you can judge any offer, including the ones on lists like this site used to publish.
Postback Notes has no affiliate relationship with any hosting company and names none as a recommendation.
First question: which ASP.NET?
The platform your code targets limits your choices more than any price:
| Application type | Runs on | Hosting implication |
|---|---|---|
| ASP.NET Web Forms, MVC 5, Web API 2 (.NET Framework 4.x) | Windows only, behind IIS | Windows hosting with IIS and the right .NET Framework version (4.8 or 4.8.1 today) |
| ASP.NET Core (.NET 8, .NET 9 and later) | Windows, Linux, macOS; containers | Any of Windows/IIS, a Linux VPS behind Nginx or Apache, containers, or managed platforms |
A Web Forms site cannot move to cheaper Linux hosting without being ported to ASP.NET Core, which for Web Forms means rewriting the pages, since Core has no Web Forms. Check the <compilation targetFramework="…"> and <httpRuntime targetFramework="…"> values in web.config to know what you need.
For ASP.NET Core, check Microsoft's support policy: each .NET release is either long-term support (three years) or standard-term support (two years since .NET 9's cycle began). A host that only offers an out-of-support runtime is a warning sign, unless you deploy self-contained.
The kinds of hosting
Shared Windows hosting
Many sites share one IIS server, each in its own application pool or site. You upload files over FTP or Web Deploy and manage settings through a control panel. It is cheap and adequate for small Web Forms sites, but you do not control the server, IIS modules or installed software, and noisy neighbours can affect performance. Check the memory limit per application pool: a pool that recycles at a low limit will lose in-process session state repeatedly.
Virtual private server (VPS) or dedicated server
You get a whole Windows or Linux machine. You install IIS or a reverse proxy, the .NET runtimes and SQL Server, and you are responsible for patching, backups, TLS certificates and security. Windows VPS plans cost more than Linux ones because the Windows Server licence is included.
Platform as a service
Services such as Azure App Service run your application on managed infrastructure: you deploy code, the provider patches the OS and runtime, and scaling is a setting. Both .NET Framework (on Windows plans) and ASP.NET Core are supported. Costs depend on the plan tier, and the database is usually a separate managed service billed on its own.
Containers
ASP.NET Core applications package well into Linux containers using Microsoft's official images. You can run them on any container platform. Web Forms needs Windows containers, which are larger and supported by fewer hosts.
Technical checklist
Runtime and server
- Exact .NET Framework or .NET versions installed, and how quickly new patch releases arrive.
- IIS version, and whether you can set the application pool's .NET CLR version, pipeline mode (integrated) and 32/64-bit setting.
- For ASP.NET Core on IIS: the ASP.NET Core Hosting Bundle must be installed; ask whether in-process hosting is supported.
- Can you use URL Rewrite rules, custom HTTP headers and your own
web.configsections? Some shared hosts lock sections at server level, which produces configuration and parser errors on deployment. - Full trust or medium trust: older shared hosts ran medium trust, which blocks reflection-heavy libraries. Microsoft no longer considers partial trust a security boundary; modern hosts generally run full trust.
Database
- SQL Server edition and version, database size limit and number of databases included.
- Can you connect remotely with SQL Server Management Studio, or only through a web tool?
- Backups: frequency, retention, and whether you can download a
.bakfile or a BACPAC to restore elsewhere. - Is the database on the same network as the web server? Latency per query adds up quickly on pages that run dozens of queries.
State and scaling
- If the plan runs several instances behind a load balancer, in-process session state will not be shared. You need StateServer, SQL Server or a distributed cache, and your session objects must be serialisable (see Unable to serialize the session state).
- For several instances of Web Forms, configure a fixed
<machineKey>so view state and authentication cookies created on one server are valid on another.
Security and operations
- Free and automatically renewed TLS certificates, HTTP/2, and TLS 1.2 or later.
- Access to IIS logs and failed request tracing, or equivalent logs on other platforms.
- Deployment methods: FTP(S), Web Deploy, Git or CI/CD integration. Avoid plain FTP for credentials.
- SMTP: many hosts block outbound port 25 or limit volume. If your site sends mail, check this; see sending mail with SMTP from ASP.NET.
- Data location, privacy terms, and where support staff are based if that matters for your users.
Remote access
On a VPS you will administer Windows through Remote Desktop; connecting to a Windows server with Remote Desktop explains the setup and the precautions.
Testing a host before you move
- Use the trial period or a monthly plan. Deploy a copy of the real application, not a "hello world".
- Load the slowest pages and measure server response time from where your users are.
- Restore a production-sized database backup and run your heaviest reports.
- Trigger an error and check that you can read the logs and that visitors see a friendly page.
- Ask support one precise technical question and judge the answer.
- Check the exit path: how you get your files and database out if you leave.
Budget guidance
For a small Web Forms site with a modest SQL Server database, shared Windows hosting is the least expensive option that requires no porting. For a growing application or one with background jobs, a VPS or a PaaS plan gives control and isolation. For new development, ASP.NET Core opens Linux hosting and containers, which usually costs less for the same capacity. Whatever you choose, include backups, a staging copy and monitoring in the price you compare.
Administering a Windows VPS with Remote Desktop
Choosing a VPS rather than shared hosting means administering the server yourself, through Remote Desktop.
A Windows VPS for an ASP.NET site is administered through Remote Desktop: you see the server's desktop, open IIS Manager and deploy as if you were sitting at it. Connecting takes a minute; keeping that door safe takes a little more thought, because RDP ports exposed to the internet are scanned constantly.
What you need from the provider
- The server's public IP address or host name.
- An administrator user name (often
Administrator) and its password, or a way to set it from the provider's console. - Confirmation that RDP (TCP port 3389 by default) is allowed by the provider's firewall or security group, ideally only from your own IP address.
Connecting from Windows
- Press Win+R, type
mstscand press Enter (or search for "Remote Desktop Connection"). - In Computer, enter the IP address. Add
:portif the provider uses a port other than 3389. - Click Show Options to save the user name and, under Local Resources, choose whether to share the clipboard or local drives. Sharing a drive is handy for copying a deployment package but gives the server access to it; enable it only when needed.
- Click Connect, enter the password, and accept the certificate warning the first time if the fingerprint matches the one your provider shows. Most VPS use a self-signed certificate.
From the command line: mstsc /v:203.0.113.10:3389.
From macOS, Linux, iOS and Android
Microsoft publishes Remote Desktop clients for macOS, iOS and Android (the app is distributed as "Windows App" in recent versions). On Linux, FreeRDP (xfreerdp /v:203.0.113.10 /u:Administrator) and Remmina are common choices.
When the connection fails
| Symptom | Check |
|---|---|
| "Remote Desktop can't connect to the remote computer" | Server running? Port open in the provider's firewall and in Windows Firewall ("Remote Desktop" rules)? Correct port? |
| Credentials rejected | User name format (.\Administrator for a local account), keyboard layout, account locked after failed attempts. |
| "An authentication error has occurred… CredSSP" | Client and server patch levels differ; update both rather than lowering security settings. |
| Connected but black screen | Wait, or disconnect and reconnect; a pending update may be installing. |
Securing RDP
- Restrict who can reach port 3389. Allow only your office or home IP addresses in the provider's firewall. Better still, do not expose RDP at all: connect through a VPN, the provider's bastion service or Remote Desktop Gateway.
- Keep Network Level Authentication on (the default), so users authenticate before a session is created.
- Use a long, unique password, consider renaming or disabling the built-in Administrator account in favour of a named admin account, and configure an account lockout policy.
- Patch Windows promptly; RDP vulnerabilities have been exploited at scale in the past.
- Changing the port from 3389 reduces log noise but is not protection on its own.
Once connected, you deploy the site as described in Parser Error when deploying, and choose a plan with the help of Choosing hosting for an ASP.NET website.
Reference documentation for this section: Remote Desktop clients, mstsc command, Remote Desktop Services troubleshooting overview.
Official documentation
- Microsoft Learn: Host and deploy ASP.NET Core and Host ASP.NET Core on Windows with IIS
- Microsoft Learn: Web Forms deployment
- Microsoft: .NET and .NET Core support policy and .NET Framework lifecycle
- Microsoft Learn: Azure App Service overview