KT DeveloperLoading Portfolio
Business & IT Guide
Website Basics • Infrastructure

Domain, Hosting, SSL කියන්නේ මොනවද?

Domain එක website address එක, DNS එක ඒ address එක නිවැරදි service/server එකට යවන system එක, hosting එක website/app එක run වෙන resources, SSL/TLS එක HTTPS secure connection එක enable කරන security layer එක. මේ concepts හතරම සරල උදාහරණ එක්ක, ownership, renewals, .lk domains, email, backups සහ hosting selection දක්වා business owner කෙනෙකුට තේරෙන විදියට explain කරන complete guide එකක්.

14–17 minSinhala + EnglishKasun Tharaka

Domain, Hosting, SSL — මේ තුන එකම දේ නෙමේ

Website එකක් buy කරනකොට “domain free”, “hosting included”, “SSL free” වගේ words ගොඩක් ඇහෙනවා. ඒ තුනේ role එක වෙනස්. Simple analogy එකක් ගත්තොත්: Domain කියන්නේ customerට මතක තියාගන්න address එක, DNS කියන්නේ ඒ address එකට directions system එක, Hosting කියන්නේ website files/app/database run වෙන resources, SSL/TLS කියන්නේ customer browser එක සහ server එක අතර data secure connection එකක් හදන layer එක.

1. Domain Name කියන්නේ මොකද්ද?

example.com, example.lk වගේ name එකක් domain name එකක්. ICANN explain කරන විදියට DNS text-based domain name එක IP address වගේ technical address එකකට map කරලා Internet use කිරීම පහසු කරනවා. Customerට long IP number එකක් මතක තියාගන්න වෙනුවට brand name එක type කරන්න පුළුවන්.

Domain එක “website” එකම නෙමේ. Domain එක register කරලා hosting connect නොකරත් domain එක ඔබට තියෙන්න පුළුවන්. ඒ වගේම hosting තිබුණත් domain connect නොකර test URL/IP එකකින් site එක run වෙන්න පුළුවන්.

2. Registry, Registrar, Registrant කියන roles

  • Registry: TLD/domain space එක administer කරන organization/system.
  • Registrar: Domain registration service customerට දෙන provider.
  • Registrant: Domain එක register කරන person/business.

.lk domain names සඳහා LK Domain Registry national body එක ලෙස .lk registrations administer කරනවා. .com වගේ generic domains ICANN-accredited registrars හරහා register කරනවා.

3. DNS කියන්නේ මොකද්ද?

DNS (Domain Name System) website world එකේ direction layer එක. Domain එක type කළාම browser එකට “මේ request එක මොන server/service එකට යවන්නද?” කියලා DNS records help කරනවා.

  • A record: domain/subdomain එක IPv4 address එකකට point කරනවා
  • AAAA: IPv6 address එකකට
  • CNAME: name එක වෙන hostname එකකට alias කරනවා
  • MX: email receive කරන mail servers
  • TXT: verification, SPF/DKIM/other text-based configuration

DNS change එකක් කළාම world එකේ හැම resolver එකකටම instant update වෙන්නේ නැති වෙන්න පුළුවන්. ඒ නිසා provider cache/TTL settings අනුව propagation time තියෙන්න පුළුවන්.

4. Hosting කියන්නේ මොකද්ද?

Hosting provider එක website files, database, backend code සහ related services run කරන්න server resources දෙනවා. Simple HTML site එකකට needs අඩු. Ecommerce, booking system, dashboard හෝ heavy application එකකට CPU, RAM, database capacity, storage සහ concurrent traffic support වැඩි වෙන්න පුළුවන්.

Hosting package එක තෝරනකොට storage GB number එක විතරක් බලන්න එපා. Reliability, backups, support, server location/CDN, software versions, database support, email limits, security controls සහ upgrade pathත් බලන්න.

5. Shared, VPS, Cloud — කුමක් තෝරන්නද?

  • Shared Hosting: Small brochure/business sites වලට cost-effective. Server resources multiple customers share කරනවා.
  • VPS: More control/resources. Backend apps හෝ growing sites වලට useful, නමුත් management responsibility වැඩි වෙන්න පුළුවන්.
  • Managed Cloud/Platform: Scaling/deployment පහසු වෙන්න පුළුවන්; pricing model provider අනුව වෙනස්.

“Best hosting” එක universal නෙමේ. Project stack, traffic, budget, technical support සහ uptime needs අනුව choose කරන්න.

6. SSL කියන්නේ ඇත්තටම TLS

People සාමාන්‍යයෙන් “SSL certificate” කියනවා. Modern secure web connections වල use වෙන්නේ TLS. Let’s Encrypt වගේ Certificate Authority එකක් TLS certificates issue කරනවා, certificate එක use කරලා HTTPS enable කරන්න පුළුවන්.

HTTPS active වුණාම browser ↔ server connection encryption සහ server identity validation සඳහා certificate layer එකක් ලැබෙනවා. Login details, forms සහ browsing data network එකේ plain text වගේ යන risk අඩු කරනවා.

Important: Browser padlock/HTTPS එක තිබුණා කියලා business එක trustworthy කියන guarantee එකක් නෙමේ. ඒක connection secure කිරීම ගැන signal එකක් — company honesty, product quality හෝ refund reliability certify කරන්නේ නැහැ.

7. Domain + Hosting + SSL එකට connect වෙන්නේ කොහොමද?

  1. Domain register කරනවා
  2. Hosting/server setup කරනවා
  3. DNS records server/service එකට point කරනවා
  4. Website files/app deploy කරනවා
  5. TLS certificate issue/attach කරනවා
  6. HTTP → HTTPS redirect enable කරනවා
  7. Website test කරනවා

මේ flow එක provider අනුව automated වෙන්න පුළුවන්. Managed hosting එකක DNS/SSL steps කිහිපයක් click වලින් වෙන්නත් පුළුවන්.

8. Business email එක domain/hosting එකට සම්බන්ධද?

name@yourbusiness.com වගේ professional email එක domain එක use කරනවා, නමුත් website hosting සහ email hosting එකම provider එකේ තියෙන්න අනිවාර්ය නැහැ. MX records මගින් domain email service එක වෙන provider කෙනෙක්ට point කරන්න පුළුවන්.

Website migrate කරනකොට MX/TXT records අහම්බෙන් delete කළොත් email service එකට issue එන්න පුළුවන්. DNS changes කරනකොට current email records backup/document කරන්න.

9. Ownership — Domain ownership සහ Hosting management එක එකම දෙයක් නෙමේ

Domain එක developer කෙනෙක්ගේ personal identity එකට lock වෙලා, business ownerට transfer/control path එකක් නැති setup එක future problem එකක් වෙන්න පුළුවන්. Best practice එක domain registrant/contact ownership business/client side එකට clear කරලා, developer හෝ company එක technical management කරනවා නම් ඒක documented arrangement එකක් විදියට තියාගන්න එක.

Hosting එක company-managed වෙලා තියෙන එක වෙනම දෙයක්. Web company එකක් 1 Year Free Hosting වගේ package එකක් දෙනකොට first year එකේ ඔවුන්ගේ managed server/hosting environment එකේ site එක run කරන model එකක් use කරන්න පුළුවන්. ඒක customerට disadvantage එකක්ම නෙමේ. Managed hosting එකෙන් server configuration, SSL renewal, backups, security updates, monitoring සහ sudden technical issues එකම support team එකෙන් handle කරන්න පුළුවන්. Customer service හොඳ provider එකක් නම් urgent issue එකක් ආවම fast troubleshooting සහ restore support ලැබීමත් වාසියක්.

Free/included period එක ඉවර වුණාම agreement එක අනුව options දෙකම තියෙන්න පුළුවන්: managed hosting renewal කරගෙන continue කිරීම හෝ clientගේම hosting account එකකට migrate කිරීම. Clientට separate hosting/domain account ownership/control එකක් ඕන නම් domain registration/renewal, hosting plan, migration හෝ transfer සඳහා වෙනම cost එකක් එන්න පුළුවන්. ඒක hidden charge එකක් නොවෙලා quotation/agreement එකේ කලින්ම clear කරලා තියෙන්න ඕන.

  • Domain registrant / renewal contact details
  • Registrar/DNS access හෝ documented transfer process
  • Hosting model — company-managed ද client-owned ද?
  • First-year free/included period එකේ exact scope
  • Second-year hosting/domain renewal price
  • Website admin access
  • Backup/files/database export access
  • Migration/transfer process සහ fee තිබුණොත් ඒක
  • Emergency support සහ restore responsibility
Balanced approach: “හැම login එකක්ම day one client අතේ නැත්නම් වැරදියි” කියන එකත්, “company එකටම හැම ownership එකක්ම තියෙන්න ඕන” කියන එකත් දෙකම practical නෙමේ. Domain ownership/transfer rights clear කරලා, hosting management + support responsibility transparentව agree කරන setup එක තමයි long-term හොඳ.

10. Free period සහ renewals — කලින්ම price එක දැනගන්න

Domain සහ hosting separate services නිසා separate expiry/renewal dates තියෙන්න පුළුවන්. “First year free” package එකක් තිබුණත් second year එකේ domain renewal සහ hosting renewal charges එන්න පුළුවන්. Own hosting account එකකට move කරනවා නම් new hosting plan cost සහ migration/transfer charge provider එක අනුව වෙනස් වෙන්නත් පුළුවන්.

Domain expire වුණොත් website/email reachability affect වෙන්න පුළුවන්. Hosting expire/suspend වුණොත් site files/app unavailable වෙන්න පුළුවන්. TLS certificatesත් expiry lifecycle එකක් තියෙන නිසා automated renewal configure කරන එක practical.

Company-managed hosting continue කරනවා නම් annual renewal date, backup policy සහ support scope written record එකක තියාගන්න. Client-owned hosting එකකට move කරනවා නම් migration එකට කලින් full files/database backup, DNS records සහ email configuration document කරගන්න. Auto-renew/payment notifications current තියාගන්න එකත් simple protection එකක්.

11. .lk domain එකක් ගැන

Sri Lankan identity එකක් emphasize කරන්න .lk useful option එකක්. Registration rules, documentation සහ current pricing periodically change වෙන්න පුළුවන්; ඒ නිසා official LK Domain Registry site එකෙන් availability, policy සහ current payment/renewal details check කරන්න.

12. Hosting buy කරන්න කලින් අහන්න ඕන questions

  • Node/PHP/database version මගේ project එකට support ද?
  • Automatic backups තියෙනවද? Restore process එක?
  • SSL/TLS automated ද?
  • Email included ද? Limits?
  • Storage/CPU/RAM limits මොනවද?
  • Traffic/bandwidth restrictions?
  • Support response channel?
  • Migration help තියෙනවද?
  • Renewal price first-year price එකට වෙනස්ද?
  • Cancellation කළොත් files/database export කරගන්න පුළුවන්ද?

13. Common mistakes

  • “Free domain” කියලා ownership/renewal terms නොබලන එක
  • Domain renewal email old employee/developer email එකකට දාන එක
  • DNS changes කරන්න කලින් current records backup නොගන්න එක
  • Hosting plan එක storage number එක විතරක් බලලා choose කරන එක
  • Backups තියෙනවා කියලා assume කරලා restore test නොකරන එක
  • HTTPS තිබුණා කියලා full website security solved කියලා හිතන එක

Simple setup checklist

  1. Brand-friendly domain availability check කරන්න
  2. Business-controlled account/email එකකින් register කරන්න
  3. Project needs අනුව hosting choose කරන්න
  4. DNS records document කරන්න
  5. Website deploy කරන්න
  6. HTTPS/TLS configure කරන්න
  7. www/non-www preferred version redirect කරන්න
  8. Email records verify කරන්න
  9. Backup + restore process test කරන්න
  10. Renewal dates document කරන්න
Bottom Line: Domain = address, DNS = directions, Hosting = website run වෙන resources, TLS/HTTPS = secure connection layer. මේ four pieces වල ownership සහ renewals clear කරගත්තොත් future developer/hosting changes ගොඩක් පහසු වෙනවා.

Research & Verified Sources

Back to Articles Book a Project