How to create a website in Sri Lanka (complete 2026 guide)
Editorial review: 19 September 2026 · Data/pricing verified: 27 August 2026 · By: Alston Antony
All LKR figures verified 2026-08-27 against vendor pages.
The straightforward path for a Sri Lankan website: (1) decide what the site is for, (2) pick the platform - WordPress for most business sites, Wix for zero-code brochures, Shopify or WooCommerce for stores, (3) buy a .lk or .com domain, (4) buy hosting, (5) design and load real content, (6) launch with a checklist, (7) maintain and update. Realistic budget: LKR 15,000 to 30,000 DIY on WordPress, LKR 60,000 to 250,000 with a freelancer, LKR 150,000 to 400,000 for a working ecommerce store (all checked 27 August 2026). The "just build it yourself in a weekend on Wix" pitch leaves the owner locked into USD 19.77 to 39 per month with no exit plan. WebsiteHosting.lk is an independent Sri Lankan guide to hosting, website cost, domains, builders and ecommerce.
Do you need technical skills?
No. Nothing in this guide requires you to write code. Modern platforms exist precisely so that someone who runs a bakery in Nugegoda can put that bakery online without hiring anyone. What it does require is tolerance for settings screens and the discipline to read what a confirmation dialogue says before clicking it.
The two things that most often go wrong for a first-time builder are not technical at all: signing up for a four-year prepaid hosting term without noticing, and registering the domain in someone else's name so that you do not legally control your own address. Both are covered below, at the step where they bite.
Step 1: decide what the site is actually for
Site purpose is the first and most consequential decision. A brochure site builds trust and answers "who are you"; a lead-gen site captures enquiries and sends them to sales; a store sells products directly. Each drives a different stack: a brochure runs on Wix or WordPress with any theme, a lead-gen site on WordPress with a form plugin and analytics, a store on WooCommerce or Shopify with a Sri Lankan gateway wired in. Getting this wrong forces a rebuild at the six-month mark. Every subsequent step in this guide assumes you have named the purpose in one sentence before moving on.
Step 2: pick the platform to match the purpose
Platform choice is where price and time-to-launch trade off against year-two cost. WordPress on Hostinger Premium is the cheapest total cost of ownership and the most portable, at about USD 2.99 per month for hosting plus a .lk or .com domain (checked 27 August 2026). Wix Core at USD 29 per month is the fastest setup with the highest lock-in cost. Shopify Basic at USD 29.00 per month is the smoothest ecommerce experience but adds a 2 percent Shopify surcharge in Sri Lanka because Shopify Payments is not available here. WooCommerce on WordPress fits Sri Lankan stores that value gateway economics. Head-to-head: best website builders for Sri Lanka.
Step 3: register the domain under the correct registrant details
Get the Registrant / Organisation details right before you pay - LK Domain Registry policy generally does not allow easy changes after registration. For a business, the Registrant is a contact person from the business and the Organisation is the business itself, not the freelancer or agency. The Registry's direct tariff currently lists Economy top-level .lk at LKR 5,000/year and the Standard bundled package at LKR 8,000/year; authorised agents publish their own retail prices. A .com is bought through any global registrar; verify first-year vs renewal pricing at your registrar of choice. See .lk domain price, .lk domain registration and .lk vs .com for Sri Lanka for the full comparison.
Choosing the name
Short, easy to spell, and easy to say out loud. A Sri Lankan business gets its domain read aloud over the phone far more often than a Western one does, and a name that has to be spelled twice is a name that loses customers. Say your shortlist to someone over a phone call before you buy - the one they type correctly first time is the one to register.
Comparing registrars
Four things decide this, and price is only one of them:
- The renewal price, not the first-year price. A LKR 400 first year renewing at LKR 6,000 is not cheap. This is the most common registrar trap and it applies to .com registrars as much as to hosting.
- Whether WHOIS privacy is included. Some registrars bundle it free; others charge annually. It is not offered on .lk in any case.
- Whether transferring out is easy. You want to be able to leave. Check the registrar releases the auth code without a support ticket and without a fee.
- Whether your card will work. International registrars bill in USD - see the payment note under hosting below.
Step 4: buy hosting on renewal price and required commitment, not the intro rate
Hosting choice is where the pricing shape matters as much as the sticker. Advertised promotional monthly equivalents often require multi-year prepayment on the first invoice - for example Hostinger Premium's promotional USD 2.99/mo is billed as a 48-month prepaid total on the first invoice and renews at USD 10.99/mo. Compare the required initial payment, the annualised effective rate and the renewal side by side. For WordPress, choose the hosting tier from workload rather than arbitrary traffic thresholds; for Shopify, hosting is inside the subscription. Detail: web hosting cost, how to choose web hosting, and the ranked best web hosting Sri Lanka comparison.
Step 5: point the domain at the hosting
If the domain and the hosting came from the same company, this is already done. If not - and for .lk names bought from the Registry it usually is not - you have to tell the domain where its website lives, by setting nameservers. This is the step where first-time builders most often stall, and it is three clicks.
- In the hosting account, find the nameserver addresses. They normally look like
ns1.yourhost.comandns2.yourhost.com. - In the registrar's control panel, open the domain's DNS or nameserver settings and replace what is there with those.
- Save, and wait.
How long you wait depends on the previous record's TTL. In practice a nameserver change is often visible within minutes and almost always within a few hours; the traditional "allow 24 to 48 hours" is the worst case, not the normal one. If you know a change is coming, dropping the TTL to 300 seconds a day beforehand makes the cutover close to instant - the same trick that makes moving hosts painless later.
Check progress at dnschecker.org, which queries resolvers worldwide and shows which have picked the change up. If nothing has moved after a day, you have almost certainly mistyped a nameserver or saved it in the wrong field - check it character by character before opening a support ticket.
Step 6: install and set up the site
On a hosted builder - Wix, Squarespace, Shopify - there is nothing to install and you can skip to the next step. On WordPress, this is where the site actually comes into existence.
Installing WordPress
Almost every shared host includes a one-click installer - Softaculous on most cPanel hosts, or the host's own equivalent in a custom panel. Find WordPress in it, choose the domain, set a site title, an admin username and a password, and run it. It takes about a minute. Many hosts now install WordPress automatically during signup, so check before you install a second copy over the first.
Installing manually is occasionally necessary and worth knowing: download WordPress from
wordpress.org,
upload the unzipped contents into public_html over SFTP with a client such as
FileZilla,
create a database and database user in the hosting panel, then visit the domain and follow the
installer. Use SFTP rather than plain FTP - plain FTP sends the password unencrypted.
Choosing a theme
The theme controls how the site looks. Install from Appearance > Themes > Add New. Judge it on five things, roughly in this order:
- Speed. A lightweight theme is the cheapest performance win available, and it matters more here because for most Sri Lankan sites the origin server is overseas. Be suspicious of themes bundling a dozen sliders and four icon libraries.
- Active maintenance. Check the "last updated" date. A theme untouched for two years is a security liability however good it looks.
- Fit. Does it already look roughly like the site you want? Forcing a theme into a shape it was not built for is how a weekend becomes a month.
- Support. For a paid theme, what the support window covers and for how long. For a free one, whether the forum gets answered at all.
- Language rendering, if you will publish in Sinhala or Tamil - see below.
Buy a premium theme only when a specific free one cannot do the job. "Premium" mostly buys demo layouts and support, not better engineering.
Plugins: install what you need and nothing more
The official directory holds tens of thousands of plugins. The instinct of every new WordPress owner is to install thirty; the right number is closer to eight. Every plugin is code running on your site - page weight, a possible conflict, and a possible vulnerability. Outdated plugins are how most hacked WordPress sites get hacked.
Before installing anything, check when it was last updated, its active-installation count and rating, and whether the support forum has recent unanswered threads. Stick to the official directory or a developer you have a reason to trust: a "free premium plugin" from a third-party download site is the most reliable way to get malware onto a WordPress install.
| Type | Why you want it | When |
|---|---|---|
| Security | A brand-new WordPress site starts receiving automated login attempts within hours of going live. Install this before you publish, not after. | Day one, before launch |
| Backups | Your host's backup is their safety net, not yours. You want your own copy, stored off the host, that you have personally tested restoring once. | Day one |
| SEO | Handles titles, meta descriptions, XML sitemaps and social previews so search engines and social platforms read your pages the way you intend. | Before the first page is published |
| Caching / performance | Serves a stored copy of each page instead of rebuilding it per visitor. It matters more than usual here, because for most Sri Lankan sites the origin server is overseas. Some hosts include their own - do not stack two. | Before launch, unless the host provides one |
| Contact form | Lets people reach you without publishing an email address for scrapers to harvest. | Before launch |
| SMTP | WordPress sends mail through PHP by default and those messages routinely land in spam or vanish, which means enquiries you never see. An SMTP plugin routes mail through a real mail server instead. | Before launch |
| Page builder | A drag-and-drop editing layer over the standard block editor. Useful for fine layout control; a genuine lock-in cost if you later move away from it. | Only if the block editor is not enough |
| Ecommerce | WooCommerce turns WordPress into a store. Confirm Sri Lankan gateway eligibility before you build the store, not after. | Only if you are selling |
Specific plugin names are deliberately not given: recommendations in this category age faster than anything else on this page, and a plugin that was the obvious pick three years ago may since have been sold, abandoned or bloated. Search the directory by category, apply the checks above, and pick what passes them today.
Pages, menu and widgets
Create pages under Pages > Add New. Most Sri Lankan business sites need five to start: home, about, services or products, contact, and a privacy policy - which you need the moment you collect anything through a form or run analytics. The about page does more work than people expect for local trust, and the contact page should carry a form, a phone number and a WhatsApp link, because Sri Lankan customers overwhelmingly want to call or message rather than email.
Build the menu under Appearance > Menus, or the navigation block in the site editor on newer themes: add the pages, drag them into order, assign the menu to the theme's primary location, save. Keep it to five or six items - a menu that wraps to two rows on a phone is a menu nobody reads. Sidebar and footer content goes in under Appearance > Widgets; resist filling it, because on a phone everything in a sidebar ends up below your content anyway.
Set each page's title and meta description in your SEO plugin as you go. Doing it at the time takes seconds per page; doing it later across thirty pages is an afternoon.
Step 7: design and load real content
Content is what takes the longest and what gets skipped in first-week planning. Real product photos of real inventory, real service descriptions, real client testimonials - not stock images and lorem-ipsum. A Sri Lankan business site needs eight to twenty pages of real content: home, about, services or products, contact, one or two case studies, a returns and refund policy, a privacy note that mentions the Personal Data Protection Act No. 9 of 2022. Install a clean, well-supported theme (Astra, Kadence, Blocksy on WordPress), wire in Google Analytics 4 and Search Console, and and set up business email on your own domain (step 8).
Step 8: email on your own domain
[email protected] reads very differently from
[email protected], and for a Sri Lankan business quoting for corporate
work that difference is worth the monthly fee on its own. Four routes:
- Your host's mailboxes. Most cPanel shared hosts include email on your domain at no extra cost - simplest and cheapest. The trade-off is that your email and your website share a fate, and a reputation, if a neighbour on that server starts sending spam.
- Google Workspace - Gmail on your own domain, billed per user per month, with Drive and the rest of the suite.
- Microsoft 365 - the equivalent if the business already runs on Outlook, Word and Excel.
- Zoho Mail - the usual budget pick, with a free tier for a small number of users. Check the current user and storage limits on their page before planning around it.
All three suites bill in USD, so the card note under step 4 applies here too. Whichever you choose, keep the email and hosting decisions separate in your head: you should be able to change host without touching your email, and that is only true if you set the MX records deliberately rather than by accident.
One more thing that catches people: WordPress sends mail through the server's PHP mail function by default, and those messages frequently land in spam or disappear silently - which means contact-form enquiries you never see. Route mail through a real mail server with an SMTP plugin pointed at your provider's SMTP host, port and credentials, then submit your own contact form as a test before telling anyone the site is live.
Publishing in Sinhala or Tamil
No international "how to build a website" guide covers this, and finding out late costs a day:
- Use Unicode, not legacy fonts. Text set in a legacy non-Unicode Sinhala font renders as nonsense on any device without that font installed, and search engines cannot read it at all. Content coming out of an old Word document usually needs converting before you paste it in.
- Test the theme's font stack. Many themes load a Latin-only web font and fall back to whatever the device has for Sinhala and Tamil - which is how one paragraph ends up in three typefaces. Check a real page on a real phone, not the theme demo.
- Check line height and descenders. Sinhala in particular needs more vertical room than Latin text at the same size, and themes tuned for English routinely clip it.
- Decide how you handle two languages. Separate pages per language with a visible switcher is simpler, more robust and far easier for search engines to index correctly than a plugin that rewrites content on the fly.
Step 9: the launch checklist
- Mobile check. Load every important page on a real Android phone on Dialog or SLT-Mobitel mobile data, not the office WiFi.
- Forms and checkout. Submit every contact form and, for stores, place one live LKR 100 to LKR 500 order end-to-end.
- SSL and browser trust. Green padlock, no mixed content warnings.
- Analytics. Google Analytics 4 firing, Search Console verified, sitemap submitted.
- Search Console sitemap. XML sitemap submitted the day the site goes public.
- Business listings. Google Business Profile claimed, Facebook page updated, LinkedIn if relevant.
- Search engine visibility switched on. WordPress has a "Discourage search engines from indexing this site" checkbox under Settings > Reading. It is trivially easy to leave ticked from a staging build, and it silently keeps the site out of Google.
- Tap-to-call and WhatsApp. Phone numbers are real
tel:links and the WhatsApp link opens the correct number. - A restore has been tested, not just a backup taken. An untested backup is a hope, not a safeguard.
- Credentials written down somewhere that is not only in your own head - where the domain, hosting and site logins live, and who holds them.
Step 10: maintain and update
Maintenance is a light quarterly rhythm, not a monthly grind. Update WordPress, the theme and plugins once a quarter; test one contact form or one live transaction after each update; verify the daily backup restore actually restores by pulling one down. Refresh content quarterly - a blog post, a product page rewrite, a testimonial update. Watch Search Console for crawl errors and Analytics for a drop in mobile conversion. The site that stays alive is the one that gets checked; the site that goes stale is the one that gets replaced.
Realistic LKR budget by site type
| Site type | Self-built | Freelancer | Agency |
|---|---|---|---|
| Brochure (5 to 10 pages) | LKR 15,000 to 30,000 | LKR 60,000 to 150,000 | LKR 250,000 to 600,000 |
| Lead-gen site with landing pages | LKR 20,000 to 40,000 | LKR 100,000 to 250,000 | LKR 400,000 to 900,000 |
| Small ecommerce store | LKR 40,000 to 90,000 | LKR 150,000 to 400,000 | LKR 500,000 to 1,500,000 |
| Growing ecommerce store | Not recommended | LKR 400,000 to 900,000 | LKR 900,000 to 2,500,000 |
Ranges exclude ongoing costs of hosting, gateway plans and ad spend. Detail: business website cost and ecommerce website cost.
Common Sri Lankan launch mistakes
- Registering the domain in the freelancer's name instead of the business owner's.
- Buying three-year hosting on intro rate without checking the renewal.
- Building on Wix or Shopify without pricing the FX markup on a Sri Lankan card.
- Testing only in the sandbox and skipping a real production transaction.
- Skipping business registration until week three of the ecommerce build.
- Ignoring mobile checkout on a Sri Lankan mobile data connection.
- No visible returns and refund policy on a store, killing paid-ad approval.
Frequently asked questions
How much does a basic Sri Lankan website cost?
Self-built on WordPress plus Hostinger Premium: LKR 15,000 to 30,000 in year one. Freelancer-built small business site: LKR 60,000 to 250,000 one-off plus LKR 15,000 to 30,000 annual running cost. Ecommerce store: LKR 150,000 to 400,000 to build plus LKR 30,000 to 100,000 per year.
How long does a Sri Lankan website take to launch?
A DIY WordPress brochure site launches inside a weekend. A freelancer-built brochure runs 2 to 4 weeks including content revisions. A store adds business registration and gateway onboarding, typically 6 to 10 weeks end-to-end. Delays come from content and paperwork, not code.
What is the very first decision to make?
Decide what the site is for: a brochure that builds trust, a lead generator that captures enquiries, or a store that sells products. That single choice sets platform, hosting tier, domain namespace and budget. Every downstream decision follows from it.
Do I need a .lk domain or is a .com fine?
Both work. .lk is a strong Sri Lankan entity signal and suits businesses selling primarily in Sri Lanka; .com is universal and suits businesses that might sell internationally later. Buying both and pointing one to the other is a common defence against squatters.
Do I need a Sri Lankan host or is international fine?
International hosts like Hostinger, SiteGround and Namecheap outperform most Sri Lankan hosts on price, feature parity and edge speed with Cloudflare in front. A Sri Lankan host wins when LKR billing, Sinhala or Tamil support, or a local tax invoice is a hard requirement.
Do I need coding knowledge to build a website in Sri Lanka?
No. WordPress, Wix, Shopify and Squarespace are all built so a non-developer can produce a working site, and this guide assumes no coding at all. What you do need is patience with settings screens and a willingness to read a support article occasionally. Coding becomes necessary only when you want behaviour the platform and its plugins do not already provide.
Can I pay for international hosting with a Sri Lankan card?
Usually, but check before you plan around it. International hosts bill in USD, which needs a card your bank has enabled for foreign online transactions, and the payment has to clear 3-D Secure. Several Sri Lankan debit cards are domestic-only by default and decline at checkout with no useful error message. Your bank can normally enable international transactions through its app. Budget for the card issuer's exchange rate and any foreign-transaction fee on top of the USD figure. A local host billing in LKR removes the problem entirely, at the cost of a narrower platform choice.
How do I connect my domain to my hosting?
By pointing the domain's nameservers at the host. Copy the nameserver addresses from your hosting account (they look like ns1.yourhost.com), open the domain's DNS or nameserver settings at your registrar, replace what is there, and save. How long it takes depends on the previous record's TTL: often minutes, usually within a few hours, and the traditional 24 to 48 hours is the worst case rather than the norm. Check progress at dnschecker.org. If nothing has moved after a day, you have almost certainly mistyped a nameserver.
How do I publish a website in Sinhala or Tamil?
Use Unicode, never a legacy non-Unicode font - legacy text renders as nonsense on any device without that font installed and search engines cannot read it at all. Test your theme's font stack on a real phone before committing, because many themes load a Latin-only web font and fall back inconsistently for Sinhala and Tamil. Check line height too: Sinhala needs more vertical room than Latin text at the same size, and themes tuned for English routinely clip it. For a bilingual site, separate pages per language with a visible switcher is more robust and easier to index than a plugin that translates on the fly.
How do I track visitors to my website?
Google Analytics 4 is the usual free choice, with Google Search Console alongside it - Search Console is the more actionable of the two for a new Sri Lankan site because it shows the actual search queries bringing people to you. Both are installed with a code snippet or a WordPress plugin. If you would rather not hand visitor data to Google, privacy-focused alternatives such as Plausible and Fathom do the same job for a monthly fee.
How often should I update my website?
Two different things are being asked. Software updates - WordPress core, themes and plugins - should be applied within days of release, because outdated plugins are how most hacked WordPress sites get hacked. Content has no fixed schedule: publish when you have something worth publishing, and revisit your main pages whenever prices, services or contact details change. Stale prices on a business site cost you more than an empty blog does.
Sources
- Hostinger web hosting pricing — Web hosting from USD 2.99 per month (checked 27 Aug 2026)
- SiteGround WordPress hosting — StartUp, GrowBig and GoGeek tiers (checked 27 Aug 2026)
- Shopify pricing — Basic USD 29 per month (checked 27 Aug 2026)
- PayHere fee card — Lite, Plus and Premium tiers for Sri Lankan ecommerce (checked 27 Aug 2026)