21+ years in hosting · Jaipur, India · INR billing with 18% GST · 24/7 email support
Blog · WebJi® India

How to Host a Website on a Windows VPS

Quick answer

To host a website on a Windows VPS, connect over RDP, add the Web Server (IIS) role, create a site pointing to your files with your domain as the host name, add A records for the VPS IP, and allow TCP 80 and 443. It works when the domain shows your homepage instead of the IIS welcome page.

For developers and businesses running ASP.NET, static or Windows-only web apps on their own Windows Server VPS.

✓ In business since 2005
✓ INR + GST billing
✓ 24/7 Email Support — avg reply < 60 min
GuideWebJi®
knowledge
Read time
4 min
Sections
7
Updated
14 Nov 2026
Written by
WebJi® team

What do you need before hosting a website on a Windows VPS?

You need a Windows Server VPS with Desktop Experience, its public IPv4 address and Administrator password, a domain whose DNS you can edit, and the site files. IIS 10 is a built-in role on Windows Server 2016 to 2025, so no separate web-server licence is needed.

  • Edition: Windows Server 2022 or 2025 with Desktop Experience; Server Core has no IIS Manager window.
  • Memory: 2 GB RAM is a bare floor for IIS with a small database; 4 GB or more is comfortable once SQL Server runs.
  • Access: Remote Desktop (RDP) on TCP 3389, limited to your own IP addresses.
  • Stack: know whether the site is static HTML, ASP.NET Framework, ASP.NET Core or PHP, since each needs different IIS features.

How do you install IIS on a Windows VPS?

Connect over RDP, then add the Web Server (IIS) role from Server Manager or with one PowerShell command, and confirm that http://localhost shows the IIS welcome page. Test locally before touching DNS.

  1. Connect: on Windows run mstsc; on macOS use the Microsoft Windows App; on Linux use Remmina.
  2. Server Manager → Add roles and features → Role-based installation → tick Web Server (IIS).
  3. For .aspx sites, under Application Development tick ASP.NET 4.8 and its extensibility, ISAPI extensions and filters.
  4. Finish, then open http://localhost on the server.
# PowerShell (run as Administrator) — same result
Install-WindowsFeature -Name Web-Server -IncludeManagementTools
Install-WindowsFeature -Name Web-Asp-Net45     # only for ASP.NET Framework sites

ASP.NET Core sites also need the .NET Hosting Bundle for their version, installed after IIS; PHP sites need PHP configured through IIS FastCGI. Publishing and runtime details for .NET apps are in hosting an ASP.NET website.

How do you create the IIS site and bind your domain?

Create a folder for the site, add a website in IIS Manager pointing to it, and set the Host name field to your domain so IIS can tell sites apart on one IP address. Add a second binding for www, or redirect one to the other.

Import-Module WebAdministration
New-Item -ItemType Directory -Path C:\sites\example.in
New-Website -Name "example.in" -PhysicalPath C:\sites\example.in -Port 80 -HostHeader "example.in"
New-WebBinding -Name "example.in" -Protocol http -Port 80 -HostHeader "www.example.in"
Application pool settings by site type
Site type.NET CLR versionPipeline
ASP.NET Framework (Web Forms, MVC 5)v4.0Integrated
ASP.NET CoreNo Managed CodeIntegrated
Static HTML or PHPNo Managed CodeIntegrated

Copy files with drag-and-drop over RDP for small sites, or Web Deploy or FTP for larger ones. Put index.html or default.aspx at the top of the Default Document list.

How do you point DNS and open ports for a Windows VPS website?

Create A records for the bare domain and www pointing to the VPS IP, and make sure TCP 80 and 443 are allowed in both Windows Firewall and any provider firewall. Both layers must pass traffic.

Installing IIS normally enables the built-in "World Wide Web Services (HTTP Traffic-In)" and "(HTTPS Traffic-In)" rules; confirm they are on under Windows Defender Firewall → Inbound Rules. Set the DNS TTL to 300 seconds while testing, and check resolution with nslookup example.in 8.8.8.8. Keep RDP restricted to your office IPs; an internet-wide 3389 attracts constant password guessing. The firewall layers guide shows the PowerShell rule for restricting RDP.

How do you add HTTPS to a site on IIS?

Install a certificate in the Local Computer store, add an https binding on port 443 with the hostname, tick Require Server Name Indication, and redirect http to https. SNI lets several HTTPS sites share one IP address.

  • Free certificate: the open-source win-acme client (wacs.exe) requests Let's Encrypt certificates for IIS sites and schedules renewal.
  • Paid certificate: import the PFX, or complete the request created on the same server; steps are in installing SSL on IIS.
  • Redirect: the IIS URL Rewrite module adds an http-to-https rule in web.config.

WebJi® sells Sectigo Positive SSL at ₹1,800 a year before 18% GST through SSL certificates, for sites that need a paid DV certificate.

How do you confirm the website is live?

Load the hostname from a phone on mobile data, which bypasses office DNS caches, and confirm your homepage loads rather than the IIS welcome page. Then check the IIS log for a 200 response.

Logs live in C:\inetpub\logs\LogFiles\W3SVC<site-id>, where the site ID is shown in IIS Manager. A 200 in the log with a blank page points to the content, not the network; a request that never appears in the log points to DNS or firewall.

Which errors are common when hosting on a Windows VPS?

Most first deployments fail on a missing host header, a missing IIS module, a blocked port or the wrong application pool. Change one thing, then reload.

Windows VPS hosting symptoms, causes and fixes
SymptomCauseFix
Domain shows the IIS welcome pageNo binding for that hostname, or DNS points elsewhereAdd the host header; confirm with nslookup
500.19 configuration errorA module named in web.config is missing, often URL RewriteInstall the module or remove the section
403.14 ForbiddenNo default documentAdd index.html or default.aspx
Connection timed outPort 80/443 blocked in Windows or the provider firewallEnable the inbound rules in both
500.21 handler not recognisedASP.NET feature not installedAdd ASP.NET 4.8 and recycle the pool
HTTPS shows another site's certificateSNI not ticked on one bindingEnable Require Server Name Indication

When should you choose a Windows VPS over shared Windows hosting?

Choose a Windows VPS when you need Remote Desktop, your own IIS modules, Windows services or scheduled tasks; choose shared Windows hosting when a panel can do the work. A VPS makes you the administrator of IIS, SQL Server, updates and the firewall.

WebJi® Windows VPS servers run Windows Server 2019, 2022 or 2025 from ₹5,900 a month before 18% GST for 2 vCPU, 8 GB RAM and 100 GB, licence included. Windows shared hosting with MS SQL starts at ₹2,300 a year. Checkout confirms the final amount.

FAQ

Frequently asked questions

Can I run PHP or WordPress on a Windows VPS?

Yes, through PHP on IIS with FastCGI and a MySQL or MariaDB install, but most WordPress plugins and guides assume Linux with Apache or Nginx. Unless you also need Windows software on the same server, Linux hosting is usually simpler and cheaper for WordPress.

How many websites can one Windows VPS host?

IIS has no fixed site limit; each site needs its own binding and preferably its own application pool. The practical limit is RAM and CPU. Give each busy site its own pool so one crash or memory leak does not stop the others.

Does the Windows VPS need antivirus?

Windows Server includes Microsoft Defender Antivirus, which is enabled by default. Keep it on, add exclusions only for database files where vendors recommend them, and install monthly Windows updates.

How do I back up a site on a Windows VPS?

Back up the site folder, the IIS configuration (appcmd add backup) and SQL Server databases (.bak files), and copy them off the server. WebJi® Backup.Help remote backup is ₹1,300 a month before GST for 200 GB.

Commands checked against Microsoft Learn IIS and WebAdministration documentation · Reviewed by the WebJi® team, Jaipur.

WebJi® since 2005

Ready to get started with WebJi®?

Join 12,000+ businesses across India and overseas. INR pricing, 18% GST shown before payment and 24/7 email support in Hindi and English — average first reply under 60 minutes.