<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: mohit </title>
    <description>The latest articles on DEV Community by mohit  (@mohit_00777).</description>
    <link>https://dev.to/mohit_00777</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4089692%2F7e1f08d0-37dc-43da-8ac4-2cdbcead4d79.png</url>
      <title>DEV Community: mohit </title>
      <link>https://dev.to/mohit_00777</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mohit_00777"/>
    <language>en</language>
    <item>
      <title>Deploy a Vite + React App to Shared Hosting (2026 Guide)</title>
      <dc:creator>mohit </dc:creator>
      <pubDate>Mon, 07 Sep 2026 12:29:14 +0000</pubDate>
      <link>https://dev.to/mohit_00777/deploy-a-vite-react-app-to-shared-hosting-2026-guide-1fpl</link>
      <guid>https://dev.to/mohit_00777/deploy-a-vite-react-app-to-shared-hosting-2026-guide-1fpl</guid>
      <description>&lt;p&gt;Most guides for this are built on create-react-app, which the React team &lt;strong&gt;deprecated on 14 February 2025&lt;/strong&gt; — the announcement recommends migrating to a framework, or to a build tool like Vite, Parcel or Rsbuild. CRA has no active maintainers.&lt;/p&gt;

&lt;p&gt;So the &lt;code&gt;homepage&lt;/code&gt; field in &lt;code&gt;package.json&lt;/code&gt; that those guides tell you to set does not exist in Vite. Neither does the &lt;code&gt;build/&lt;/code&gt; folder. If you followed one and ended up with a 403 or a white page, that is why.&lt;/p&gt;

&lt;p&gt;Here is the current path, plus the three failures that fill the comment sections of every older guide.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Get the base path right before you build
&lt;/h2&gt;

&lt;p&gt;This is the step that decides whether your app loads at all.&lt;/p&gt;

&lt;p&gt;Vite injects asset paths into &lt;code&gt;index.html&lt;/code&gt; at build time using the &lt;code&gt;base&lt;/code&gt; option. If &lt;code&gt;base&lt;/code&gt; is wrong, the HTML loads and then every script and stylesheet 404s — which renders as a completely blank page with no error on screen.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Deploying to a domain root&lt;/strong&gt; (&lt;code&gt;example.com&lt;/code&gt;) — the default is already correct:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// vite.config.js&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;defineConfig&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;vite&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nx"&gt;react&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;@vitejs/plugin-react&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="k"&gt;default&lt;/span&gt; &lt;span class="nf"&gt;defineConfig&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;plugins&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nf"&gt;react&lt;/span&gt;&lt;span class="p"&gt;()],&lt;/span&gt;
  &lt;span class="na"&gt;base&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;/&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;})&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Deploying to a subdirectory&lt;/strong&gt; (&lt;code&gt;example.com/app/&lt;/code&gt;) — you must say so:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="k"&gt;default&lt;/span&gt; &lt;span class="nf"&gt;defineConfig&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;plugins&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nf"&gt;react&lt;/span&gt;&lt;span class="p"&gt;()],&lt;/span&gt;
  &lt;span class="na"&gt;base&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;/app/&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;})&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Leading and trailing slashes both matter. &lt;code&gt;/app&lt;/code&gt; will not work; &lt;code&gt;/app/&lt;/code&gt; will.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Build
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm run build
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Vite writes to &lt;strong&gt;&lt;code&gt;dist/&lt;/code&gt;&lt;/strong&gt;, not &lt;code&gt;build/&lt;/code&gt;. That difference causes more failed deploys than anything else on this page, because people follow a CRA guide and go looking for a folder that was never created.&lt;/p&gt;

&lt;p&gt;Check it locally before you upload anything:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm run preview
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That serves the real production build the way a static host will. If it is broken here, uploading will not fix it.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Upload the CONTENTS of &lt;code&gt;dist/&lt;/code&gt;, not the folder
&lt;/h2&gt;

&lt;p&gt;This is the single most common cause of a 403 or a blank page on shared hosting, and it is almost never explained.&lt;/p&gt;

&lt;p&gt;Your files need to land like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public_html/
├── index.html
├── assets/
│   ├── index-a1b2c3d4.js
│   └── index-e5f6g7h8.css
└── vite.svg
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Not&lt;/strong&gt; like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;public_html/
└── dist/
    ├── index.html
    └── assets/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In the second case Apache finds no &lt;code&gt;index.html&lt;/code&gt; at the document root. Depending on whether directory listing is enabled, you get either a 403 Forbidden or an empty page — and both look like a server problem when they are a path problem.&lt;/p&gt;

&lt;p&gt;If you zip before uploading, &lt;strong&gt;open &lt;code&gt;dist/&lt;/code&gt; first and zip the files inside it&lt;/strong&gt;, not the folder. In your host's file manager, extract into &lt;code&gt;public_html&lt;/code&gt;, then confirm &lt;code&gt;index.html&lt;/code&gt; sits directly there. SFTP works equally well; just drag the contents.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Add &lt;code&gt;.htaccess&lt;/code&gt; for client-side routing
&lt;/h2&gt;

&lt;p&gt;Without this, your app works until someone refreshes on &lt;code&gt;/about&lt;/code&gt; or opens a deep link, and then the server returns 404. The server is looking for a real file at that path. There isn't one — React Router resolves it in the browser.&lt;/p&gt;

&lt;p&gt;Create &lt;code&gt;.htaccess&lt;/code&gt; in &lt;code&gt;public_html&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight apache"&gt;&lt;code&gt;&lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nl"&gt;IfModule&lt;/span&gt;&lt;span class="sr"&gt; mod_rewrite.c&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;
&lt;/span&gt;  &lt;span class="nc"&gt;RewriteEngine&lt;/span&gt; &lt;span class="ss"&gt;On&lt;/span&gt;
  &lt;span class="nc"&gt;RewriteBase&lt;/span&gt; /
  &lt;span class="nc"&gt;RewriteRule&lt;/span&gt; ^index\.html$ - [L]
  &lt;span class="nc"&gt;RewriteCond&lt;/span&gt; %{REQUEST_FILENAME} !-f
  &lt;span class="nc"&gt;RewriteCond&lt;/span&gt; %{REQUEST_FILENAME} !-d
  &lt;span class="nc"&gt;RewriteRule&lt;/span&gt; . /index.html [L]
&lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nl"&gt;IfModule&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The two &lt;code&gt;RewriteCond&lt;/code&gt; lines are the important part: they say "if the request is not a real file and not a real directory, hand it to index.html". Without them you would rewrite your JS and CSS requests into the HTML too, and get MIME type errors in the console instead.&lt;/p&gt;

&lt;p&gt;If you deployed to a subdirectory, change &lt;code&gt;RewriteBase /&lt;/code&gt; and the final &lt;code&gt;/index.html&lt;/code&gt; to match — &lt;code&gt;/app/&lt;/code&gt; and &lt;code&gt;/app/index.html&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;LiteSpeed, which most budget shared hosts run instead of Apache, reads the same &lt;code&gt;.htaccess&lt;/code&gt; directives, so this block works on both.&lt;/p&gt;

&lt;h2&gt;
  
  
  Troubleshooting, by symptom
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;403 Forbidden.&lt;/strong&gt; Files are one directory too deep. Check that &lt;code&gt;index.html&lt;/code&gt; is directly inside &lt;code&gt;public_html&lt;/code&gt;, not inside &lt;code&gt;public_html/dist&lt;/code&gt;. If the path is right and you still get 403, check the file permissions — 644 for files, 755 for directories.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Completely blank page, no errors on screen.&lt;/strong&gt; Open DevTools and look at the Network tab. If the &lt;code&gt;assets/*.js&lt;/code&gt; requests are 404ing, your &lt;code&gt;base&lt;/code&gt; is wrong — rebuild with the correct value. If they load fine, check the Console for a runtime error instead; a blank render is usually a crash during mount.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Routes 404 on refresh, but work when clicking links.&lt;/strong&gt; Missing or ignored &lt;code&gt;.htaccess&lt;/code&gt;. Confirm the file uploaded — many FTP clients hide dotfiles by default, so it is easy to think you sent it when you didn't.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;MIME type errors on &lt;code&gt;.js&lt;/code&gt;.&lt;/strong&gt; Usually a rewrite rule that is catching real files because the &lt;code&gt;RewriteCond&lt;/code&gt; lines are missing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;"The project was built assuming it is hosted at /".&lt;/strong&gt; This is a CRA message, not a Vite one, and when you are deploying to a domain root &lt;strong&gt;it is not an error&lt;/strong&gt; — it is the build telling you it did the correct thing. Two people in the comments of the most popular guide on this topic have been stuck on that line for three years. If you see it, you are on CRA, and it is fine.&lt;/p&gt;

&lt;h2&gt;
  
  
  One security note before you ship
&lt;/h2&gt;

&lt;p&gt;Vite only exposes environment variables prefixed with &lt;code&gt;VITE_&lt;/code&gt;, and it &lt;strong&gt;inlines them into the bundle at build time&lt;/strong&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;key&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;meta&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;VITE_API_URL&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That means anything with a &lt;code&gt;VITE_&lt;/code&gt; prefix is readable by anyone who opens your JavaScript. It is fine for a public API base URL. It is not fine for an API secret, a database credential, or a private key. If a value must stay secret, it belongs behind a server you control, not in a static bundle.&lt;/p&gt;

&lt;h2&gt;
  
  
  When shared hosting is the wrong answer
&lt;/h2&gt;

&lt;p&gt;Worth saying plainly, because the happy path above does not cover everything.&lt;/p&gt;

&lt;p&gt;Shared hosting serves static files. That is all a built SPA is, so it works well. What it cannot do:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Server-side rendering.&lt;/strong&gt; Next.js with SSR, or any app that renders on the server, needs a Node process. Static hosting has none.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;API routes.&lt;/strong&gt; If your app needs a backend, you need somewhere to run it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Background jobs, cron, WebSockets.&lt;/strong&gt; Same problem.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If any of those apply, a VPS is the honest answer, and the specs that matter for a Node workload are different from the ones hosting companies advertise — I wrote up which ones actually matter &lt;a href="https://mohitkoli.in/blog/nodejs-hosting-india-2026" rel="noopener noreferrer"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;And if you are only serving a built SPA, do not overbuy. A static bundle needs very little; the entry tier of almost any host handles it, and the thing worth checking is the renewal rate rather than the intro price — I keep a breakdown of what the cheap plans actually cost &lt;a href="https://mohitkoli.in/blog/cheap-web-hosting-under-200-india" rel="noopener noreferrer"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The short version
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Set &lt;code&gt;base&lt;/code&gt; correctly before building — &lt;code&gt;/&lt;/code&gt; for a root deploy, &lt;code&gt;/subdir/&lt;/code&gt; otherwise&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;npm run build&lt;/code&gt; outputs to &lt;code&gt;dist/&lt;/code&gt;, and &lt;code&gt;npm run preview&lt;/code&gt; tests it locally&lt;/li&gt;
&lt;li&gt;Upload the &lt;strong&gt;contents&lt;/strong&gt; of &lt;code&gt;dist/&lt;/code&gt;, so &lt;code&gt;index.html&lt;/code&gt; lands in &lt;code&gt;public_html&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Add the &lt;code&gt;.htaccess&lt;/code&gt; block, or every refresh on a sub-route 404s&lt;/li&gt;
&lt;li&gt;Never put a secret behind a &lt;code&gt;VITE_&lt;/code&gt; variable&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That is the whole thing. Most of the pain people hit with this is step 3.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I'm a full stack developer from India. I write about hosting, performance and technical SEO at &lt;a href="https://mohitkoli.in" rel="noopener noreferrer"&gt;mohitkoli.in&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>react</category>
      <category>vite</category>
      <category>webdev</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Shared, Cloud, or VPS Hosting — The Upgrade Ladder Nobody Explains Simply</title>
      <dc:creator>mohit </dc:creator>
      <pubDate>Thu, 03 Sep 2026 09:48:03 +0000</pubDate>
      <link>https://dev.to/mohit_00777/shared-cloud-or-vps-hosting-the-upgrade-ladder-nobody-explains-simply-3mj</link>
      <guid>https://dev.to/mohit_00777/shared-cloud-or-vps-hosting-the-upgrade-ladder-nobody-explains-simply-3mj</guid>
      <description>&lt;p&gt;Hosting tiers are named to confuse you — "Premium", "Business", "Cloud", "VPS" — so here is the entire ladder in plain language, with September 2026 prices from the Indian market.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rung 1 — Shared hosting (₹149–249/mo intro)
&lt;/h2&gt;

&lt;p&gt;Your site shares a server with hundreds of others. Fine for blogs, portfolios, and small business sites up to a few thousand visits a day.&lt;/p&gt;

&lt;p&gt;You stay here longer than the industry wants you to believe.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rung 2 — Cloud hosting (₹599/mo intro)
&lt;/h2&gt;

&lt;p&gt;Same simple dashboard, but dedicated resources — your neighbour's viral post can't slow your site down. This is the rung for stores and high-traffic content sites.&lt;/p&gt;

&lt;p&gt;I've broken down every cloud tier and its renewal price in my &lt;a href="https://mohitkoli.in/blog/hostinger-cloud-hosting-india-2026" rel="noopener noreferrer"&gt;cloud hosting guide for India&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rung 3 — VPS (₹599+/mo)
&lt;/h2&gt;

&lt;p&gt;Root access, your own virtual machine, nobody manages it but you. You need this only when you run custom apps — Node.js backends, Docker, cron-heavy workloads.&lt;/p&gt;

&lt;p&gt;If that's you, my guide to &lt;a href="https://mohitkoli.in/blog/nodejs-hosting-india-2026" rel="noopener noreferrer"&gt;Node.js hosting in India&lt;/a&gt; covers which VPS specs actually matter.&lt;/p&gt;

&lt;h2&gt;
  
  
  The three signals it's time to climb a rung
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Your host emails you about resource limits more than once a month.&lt;/li&gt;
&lt;li&gt;Your pages take over 3 seconds despite caching.&lt;/li&gt;
&lt;li&gt;You need to run something the shared dashboard simply doesn't offer — a custom runtime, a queue, a websocket server.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The mistake in both directions
&lt;/h2&gt;

&lt;p&gt;Beginners buy VPS "for growth" and end up paying to be their own sysadmin. Growing stores stay on ₹149 shared hosting while checkout crawls.&lt;/p&gt;

&lt;p&gt;Match the rung to today's traffic, not the dream.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I'm a full-stack developer from India. I publish price-checked hosting and domain guides at &lt;a href="https://mohitkoli.in" rel="noopener noreferrer"&gt;mohitkoli.in&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>devops</category>
      <category>php</category>
    </item>
    <item>
      <title>Cheap Web Hosting Under ₹200/Month in India (2026)</title>
      <dc:creator>mohit </dc:creator>
      <pubDate>Sat, 22 Aug 2026 12:23:31 +0000</pubDate>
      <link>https://dev.to/mohit_00777/cheap-web-hosting-under-200month-in-india-2026-2kp6</link>
      <guid>https://dev.to/mohit_00777/cheap-web-hosting-under-200month-in-india-2026-2kp6</guid>
      <description>&lt;p&gt;Cheap Web Hosting Under ₹200/Month in India (2026): Practical Options That Actually Work&lt;br&gt;
Looking for reliable web hosting in India without spending more than ₹200 a month? In 2026, it’s genuinely possible — but this price range is also full of traps like misleading intro prices, hidden renewal hikes, and plans missing essentials such as a free domain or solid performance.&lt;br&gt;
This guide covers real options that deliver usable hosting for blogs, portfolios, student projects, and small business sites, while highlighting what to watch out for. For a detailed, up-to-date comparison with specific plan breakdowns and current pricing checks, see the excellent resource at &lt;a href="https://mohitkoli.in/blog/cheap-web-hosting-under-200-india" rel="noopener noreferrer"&gt;https://mohitkoli.in/blog/cheap-web-hosting-under-200-india&lt;/a&gt;.&lt;br&gt;
Quick Picks for Under ₹200&lt;/p&gt;

&lt;p&gt;Best overall value: A mid-tier shared plan around ₹139/month (especially on longer terms) that includes a free domain for the first year, SSL, email, and support for a few websites.&lt;br&gt;
Tightest budget: Entry-level “single site” plans near ₹99/month — workable for one simple site or learning project, but with more limits.&lt;br&gt;
Truly free for static sites: GitHub Pages, Vercel, or Netlify free tiers (perfect for portfolios, documentation, or landing pages — no WordPress or dynamic features).&lt;br&gt;
Avoid: Any “unlimited everything for ₹49” offers that bury high renewal rates or cut critical features.&lt;/p&gt;

&lt;p&gt;What You Actually Get at Different Price Points&lt;br&gt;
Budget hosting in India typically falls into a few clear tiers (prices approximate based on common long-term sale rates as of mid-2026):&lt;/p&gt;

&lt;p&gt;Feature~₹99/mo tier~₹139/mo tier~₹199/mo tierWebsites1325–50Storage~30 GB SSD20 GB SSD50 GB NVMe (faster)Free domain (Year 1)Usually noYesYesFree SSLYesYesYesEmailLimited (1)2–35+BackupsWeeklyWeeklyDailyBest forFirst blog / projectBlog, portfolio, small bizBusiness sites, light stores&lt;br&gt;
The key insight: a slightly higher intro price that includes a free domain often costs less overall in Year 1 than a cheaper plan where you must buy the domain separately (a .com typically runs around ₹1,000–1,200/year).&lt;br&gt;
Common Pitfalls to Check Before Paying&lt;/p&gt;

&lt;p&gt;Renewal pricing — Many plans start low and jump 2–3× after the first term. Always check the renewal rate at checkout and lock in the longest affordable term.&lt;br&gt;
No free domain — This alone can add the equivalent of ₹100/month in Year 1 costs.&lt;br&gt;
Slower storage — Entry plans often use standard SSD; higher tiers in this range move to faster NVMe.&lt;br&gt;
Resource limits — Watch inode counts, database size, and concurrent process limits (rarely an issue for normal blogs, but relevant for plugin-heavy sites).&lt;br&gt;
Support quality — Lower tiers can mean slower response times.&lt;/p&gt;

&lt;p&gt;Who Should Choose What?&lt;/p&gt;

&lt;p&gt;Student or first personal site → ~₹99 single-site plan (or free static hosting if possible).&lt;br&gt;
Serious blogger or portfolio → ~₹139 tier with free domain — usually the sweet spot.&lt;br&gt;
Small business or light e-commerce → ~₹199 tier for better speed, daily backups, and more resources.&lt;br&gt;
Fully static site → Stick with GitHub Pages / Vercel / Netlify and spend ₹0.&lt;/p&gt;

&lt;p&gt;Is Cheap Hosting Good Enough for WordPress?&lt;br&gt;
Yes, for typical blogs and small business sites. Most plans in this range offer one-click WordPress installs and perform well with proper caching (LiteSpeed is common). They comfortably handle tens of thousands of monthly visits on a well-optimized site. Heavy WooCommerce stores or high-traffic projects will eventually need to move up.&lt;br&gt;
Free classic hosting is generally not recommended for anything important — ads, downtime, domain restrictions, or sudden shutdowns are common. The free static platforms mentioned earlier are the reliable exception.&lt;br&gt;
Final Recommendation&lt;br&gt;
For most people who need a real website with a custom domain, the ~₹139 long-term plan that bundles a free domain, SSL, and multi-site support delivers the best balance of cost and features under ₹200. Always verify current sale prices and renewal terms at checkout, as offers rotate.&lt;br&gt;
For the full side-by-side comparison, exact current pricing notes, detailed renewal guidance, and more FAQs, read the original in-depth guide here:&lt;br&gt;
&lt;a href="https://mohitkoli.in/blog/cheap-web-hosting-under-200-india" rel="noopener noreferrer"&gt;https://mohitkoli.in/blog/cheap-web-hosting-under-200-india&lt;/a&gt;&lt;br&gt;
Prices and features change, so double-check at the provider’s checkout before purchasing. Happy launching!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Hostinger Domain Price in India 2026:</title>
      <dc:creator>mohit </dc:creator>
      <pubDate>Sat, 22 Aug 2026 12:22:16 +0000</pubDate>
      <link>https://dev.to/mohit_00777/hostinger-domain-price-in-india-2026-3m67</link>
      <guid>https://dev.to/mohit_00777/hostinger-domain-price-in-india-2026-3m67</guid>
      <description>&lt;p&gt;Hostinger Domain Price in India 2026: .in from ₹99, .com from ₹149 (Real Registration + Renewal Costs)&lt;br&gt;
Looking for the actual Hostinger domain price in India 2026? Most sellers flash a low first-year number and hide the renewal. This guide shows the real costs in INR for the extensions Indians buy most (.com, .in, .co.in, .store, .online, .xyz and more) — registration and renewal — plus the smartest way to get a domain free for the first year.&lt;br&gt;
Disclosure: This post contains Hostinger referral links. You get an extra discount; I may earn a commission at no extra cost to you. Domain prices change with sales — always confirm the live price at checkout.&lt;br&gt;
The 30-Second Answer&lt;/p&gt;

&lt;p&gt;Best value for Indian audiences: .in domain — roughly ₹99–₹299 first year, ~₹699/year renewal.&lt;br&gt;
Most trusted worldwide: .com — ~₹149–₹749 first year, ~₹1,199/year renewal.&lt;br&gt;
Free for year one: Buy any Hostinger Premium (or higher) plan on a 12-month+ term — the domain is included.&lt;br&gt;
Warning: Cheap-looking extensions like .store, .online or .tech can renew at ₹2,299–₹3,499. Always judge by the renewal price.&lt;/p&gt;

&lt;p&gt;→ Check live Hostinger domain prices with extra discount&lt;br&gt;
→ Alternative referral link: Hostinger with HOSTFIFTY code&lt;br&gt;
Hostinger .in Domain Price in India 2026&lt;br&gt;
A .in domain on Hostinger typically costs ₹99–₹299 for the first year and around ₹699 per year on renewal.&lt;br&gt;
.in is India’s country-code domain (managed by NIXI). It signals a local business to Indian visitors and has one of the lowest long-term costs. The same ~₹699 renewal usually applies to .co.in (great fallback when your exact .in is taken).&lt;br&gt;
Pro tip: Register for 2+ years if the domain is important — you lock today’s rate and reduce the risk of losing the name.&lt;br&gt;
Hostinger .com Domain Price in India 2026&lt;br&gt;
A .com registers for about ₹149–₹749 in year one (sale price rotates) and renews near ₹1,199/year.&lt;br&gt;
.com renewal is largely set by Verisign’s wholesale fee, so most registrars sit in a similar band. If the brand matters long-term (business, product, personal brand), budget for the renewal and register multiple years upfront.&lt;br&gt;
Full Hostinger Domain Price Table (India 2026) — First Year vs Renewal&lt;br&gt;
The gap between the two columns is everything. A ₹199 domain today can cost ₹3,499 next year.&lt;/p&gt;

&lt;p&gt;Extension1st Year (Sale)Renewal / YearBest For.com~₹149–₹749~₹1,199Global trust, brands, long-term.in~₹99–₹299~₹699Indian audience, best value.co.in~₹99–₹399~₹699When .in is taken.xyz~₹99–₹199~₹899Startups, side projects.online~₹99–₹299~₹2,299Cheap year-one only.store~₹199–₹399~₹3,499Ecommerce vibe (high renewal).shop~₹99–₹399~₹2,799Keyword-rich store domains.tech~₹399–₹799~₹3,499Tech/SaaS brands (expensive to keep)&lt;br&gt;
Figures are typical 2026 India prices in INR and move with sales. Always verify on the live checkout page.&lt;br&gt;
Hostinger Domain Renewal Prices in India (What You Actually Pay Every Year)&lt;/p&gt;

&lt;p&gt;ExtensionRenewal / Year.in / .co.in~₹699.xyz~₹899.com~₹1,199.online~₹2,299.shop~₹2,799.store / .tech~₹3,499&lt;br&gt;
5-year reality check:&lt;/p&gt;

&lt;p&gt;₹99 .in → roughly ₹2,895 total&lt;br&gt;
₹199 .store → roughly ₹14,195 total&lt;/p&gt;

&lt;p&gt;Choose by the renewal column. Register multiple years when possible and use a valid first-term discount.&lt;br&gt;
How to Get a Free Domain for the First Year with Hostinger&lt;br&gt;
Do not buy the domain separately if you need hosting.&lt;br&gt;
Every Hostinger plan from Premium and above, purchased on a 12-month term or longer, includes:&lt;/p&gt;

&lt;p&gt;Free first-year domain (.com, .in, .online, .store and many others)&lt;br&gt;
Free WHOIS privacy&lt;br&gt;
Free SSL + email&lt;br&gt;
DNS management and unlimited subdomains&lt;/p&gt;

&lt;p&gt;Year-two renewal is the standard rate from the tables above — budget for it.&lt;br&gt;
Premium (starts around ₹139–₹149/mo on longer terms) is usually the sweet spot for blogs and small business sites. Higher plans add more power for ecommerce or traffic.&lt;br&gt;
→ Claim free domain + hosting with referral discount&lt;br&gt;
→ Or use: &lt;a href="https://www.hostinger.com/?REFERRALCODE=HOSTFIFTY" rel="noopener noreferrer"&gt;https://www.hostinger.com/?REFERRALCODE=HOSTFIFTY&lt;/a&gt;&lt;br&gt;
.com vs .in — Which Should You Choose?&lt;br&gt;
Choose .com if:&lt;/p&gt;

&lt;p&gt;You want maximum global recognition and trust&lt;br&gt;
You may expand outside India&lt;br&gt;
It’s a personal brand or product name&lt;br&gt;
You’re comfortable with ~₹1,199/year renewal&lt;/p&gt;

&lt;p&gt;Choose .in or .co.in if:&lt;/p&gt;

&lt;p&gt;Your main audience is in India&lt;br&gt;
You want the lowest long-term cost (~₹699/year)&lt;br&gt;
The exact .com is already taken&lt;br&gt;
You want an instant “local business” signal&lt;/p&gt;

&lt;p&gt;Many smart Indian brands register both and 301-redirect one to the other.&lt;br&gt;
Hostinger vs GoDaddy Domain Prices in India&lt;br&gt;
First-year offers look similar at both. The real difference is renewal and extras:&lt;/p&gt;

&lt;p&gt;Hostinger renewals stay closer to standard registry rates.&lt;br&gt;
WHOIS privacy is free forever on eligible domains.&lt;br&gt;
GoDaddy has raised Indian renewal prices multiple times in the past.&lt;/p&gt;

&lt;p&gt;Always compare the year-two (and beyond) cost, not just the flashy first-year banner.&lt;br&gt;
How to Register a Domain on Hostinger (5 Simple Steps)&lt;/p&gt;

&lt;p&gt;Search your desired name and check available extensions.&lt;br&gt;
Compare the renewal price, not just the sale price.&lt;br&gt;
Register for 2+ years if the domain is important.&lt;br&gt;
Enable free WHOIS privacy (included).&lt;br&gt;
Bundle with a Premium+ hosting plan to get the domain free in year one.&lt;/p&gt;

&lt;p&gt;→ Search domains &amp;amp; see live prices now&lt;br&gt;
Frequently Asked Questions&lt;br&gt;
What is the Hostinger .com domain price in India 2026?&lt;br&gt;
Typically ₹149–₹749 first year (sale) and ~₹1,199/year on renewal.&lt;br&gt;
What is the Hostinger .in domain price in India?&lt;br&gt;
Around ₹99–₹299 first year and ~₹699/year renewal — one of the best-value options.&lt;br&gt;
Can I get a free domain with Hostinger?&lt;br&gt;
Yes. Premium and higher plans (12 months+) include a free domain for the first year.&lt;br&gt;
Why is domain renewal higher than registration?&lt;br&gt;
The first year is a promotional price. Renewal reflects the real long-term registry cost. This is standard industry practice.&lt;br&gt;
Is it cheaper to buy domain + hosting together?&lt;br&gt;
Almost always yes for a new project. You get the domain free in year one plus hosting, SSL and email.&lt;br&gt;
Should I choose .com or .in for an Indian website?&lt;br&gt;
.com for global reach and maximum trust. .in for local Indian audience and lower cost. Many register both.&lt;br&gt;
How much does domain transfer to Hostinger cost?&lt;br&gt;
Usually close to the normal renewal rate of that extension, and it adds one full year of registration.&lt;br&gt;
Final Recommendation&lt;br&gt;
For most Indian users in 2026:&lt;/p&gt;

&lt;p&gt;Want lowest long-term cost + local signal → get a .in&lt;br&gt;
Building a serious brand → get a .com (and preferably the .in too)&lt;br&gt;
Need a website → buy Premium+ hosting and take the free domain&lt;/p&gt;

&lt;p&gt;Check the current live prices and claim the extra referral discount here:&lt;br&gt;
&lt;a href="https://www.hostinger.com/?REFERRALCODE=MOHITKOLI" rel="noopener noreferrer"&gt;https://www.hostinger.com/?REFERRALCODE=MOHITKOLI&lt;/a&gt;&lt;br&gt;
or&lt;br&gt;
&lt;a href="https://www.hostinger.com/?REFERRALCODE=HOSTFIFTY" rel="noopener noreferrer"&gt;https://www.hostinger.com/?REFERRALCODE=HOSTFIFTY&lt;/a&gt;&lt;br&gt;
Original detailed guide: Hostinger Domain Price in India 2026Prices can change — always confirm on the Hostinger website before purchasing. Happy domain hunting!&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
