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.

Quick answer

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:

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.

  1. In the hosting account, find the nameserver addresses. They normally look like ns1.yourhost.com and ns2.yourhost.com.
  2. In the registrar's control panel, open the domain's DNS or nameserver settings and replace what is there with those.
  3. 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:

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.

What a new WordPress site actually needs, and when
TypeWhy you want itWhen
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:

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:

Step 9: the launch checklist

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

Sri Lankan website budgets, checked 27 August 2026
Site typeSelf-builtFreelancerAgency
Brochure (5 to 10 pages)LKR 15,000 to 30,000LKR 60,000 to 150,000LKR 250,000 to 600,000
Lead-gen site with landing pagesLKR 20,000 to 40,000LKR 100,000 to 250,000LKR 400,000 to 900,000
Small ecommerce storeLKR 40,000 to 90,000LKR 150,000 to 400,000LKR 500,000 to 1,500,000
Growing ecommerce storeNot recommendedLKR 400,000 to 900,000LKR 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

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

  1. Hostinger web hosting pricing — Web hosting from USD 2.99 per month (checked 27 Aug 2026)
  2. SiteGround WordPress hosting — StartUp, GrowBig and GoGeek tiers (checked 27 Aug 2026)
  3. Shopify pricing — Basic USD 29 per month (checked 27 Aug 2026)
  4. PayHere fee card — Lite, Plus and Premium tiers for Sri Lankan ecommerce (checked 27 Aug 2026)

Related reading