Publishing and Maintaining Websites – Grade 13 A/L ICT Notes 10.8

© 2026 schoolict.net (Ruwan Mangala Suraweera)

10.8 Publishing and Maintaining Websitesවෙබ් අඩවි ප්‍රකාශනය සහ නඩත්තුව

Grade 13 A/L ICT · Lesson 1013 ශ්‍රේණිය A/L ICT · පාඩම 10

Prints all tabs in the language you are reading. Use “Save as PDF” in the print window to keep a copy.ඔබ කියවන භාෂාවෙන් සියලු tabs මුද්‍රණය වේ. පිටපතක් තියාගන්න print window එකේ “Save as PDF” තෝරන්න.
🎬Video coming soon in this language. Switch language to watch the other video.මේ භාෂාවෙන් වීඩියෝව ඉක්මනින් එනවා. අනෙක් වීඩියෝව බලන්න භාෂාව මාරු කරන්න.

In this videoමේ වීඩියෝවේ

  • Test locally with localhost.localhost මගින් පරීක්ෂාව.
  • Intranet sites serve one organisation.intranet එක් ආයතනයකට.
  • Internet publishing uses a hosting provider and FTP.host සහ FTP.
  • Size, bandwidth and server affect speed.ප්‍රමාණය, bandwidth, සේවාදායකය.
  • Maintain content, links and security.අන්තර්ගතය, සබැඳි, ආරක්ෂාව.
PublishingLocal publishinglocalhostIntranetWeb hostingWeb hosting service providerFree web hosting

Notesසටහන්

Syllabus 10.8. Publishing means putting a website where users can open it. Local publishing uses your own computer (a local server such as XAMPP at http://localhost) or a school intranet. Internet publishing uses a web hosting service provider: you get space on a web server, upload the files and link a domain name. After publishing you maintain the site and watch the factors that affect its performance.විෂය නිර්දේශය 10.8. ප්‍රකාශනය යනු පරිශීලකයින්ට විවෘත කළ හැකි තැනක අඩවිය තැබීමයි. ස්ථානීය ප්‍රකාශනය ඔබේ පරිගණකය (http://localhost හි XAMPP වැනි) හෝ පාසල් අන්තර්ජාලය (intranet) භාවිත කරයි. අන්තර්ජාල ප්‍රකාශනය වෙබ් සත්කාරක සේවා සපයන්නෙකු භාවිත කරයි: වෙබ් සේවාදායකයක ඉඩ ලබා, ගොනු upload කර වසම් නාමයක් සම්බන්ධ කරයි. ප්‍රකාශනයෙන් පසු අඩවිය නඩත්තු කර කාර්ය සාධනයට බලපාන සාධක නිරීක්ෂණය කරයි.

1. Ways to publish1. ප්‍රකාශන ක්‍රම

Publishing a websiteLocalown computer(localhost, XAMPP)Intranetschool LAN serverInternetweb hosting providerupload by FTP / filemanager · domain + DNSLoad time ≈ page size (bits) ÷ bandwidth: 2.5 MB = 20 Mbit; at 10 Mbps ≈ 2 s.
Local, intranet and Internet publishingස්ථානීය, intranet සහ අන්තර්ජාල ප්‍රකාශනය
Methodක්‍රමයWho can see itකාටද පෙනෙන්නේHowකෙසේද
Own computerතම පරිගණකයOnly you (testing)ඔබට පමණි (පරීක්ෂාව)Install a local server (XAMPP/WAMP); put files in htdocs; open http://localhostXAMPP ස්ථාපනය; htdocs; http://localhost
IntranetIntranetUsers on the school or office networkපාසල් / කාර්යාල ජාලයේ අයCopy files to the LAN web serverLAN සේවාදායකයට පිටපත් කිරීම
Internetඅන්තර්ජාලයAnyone in the worldලොව ඕනෑම අයෙකුRegister with a host (free or paid); upload by FTP or file manager; set the domainhost එකක ලියාපදිංචි; FTP upload; වසම

2. Publishing on the Internet – steps2. අන්තර්ජාලයේ ප්‍රකාශනය – පියවර

  • Test the site locally and check every link.ස්ථානීයව පරීක්ෂා කර සියලු සබැඳි පරීක්ෂා කරන්න.
  • Choose a web hosting service provider – free hosts give a sub-domain such as myschool.free-host.com.සත්කාරක සපයන්නෙකු තෝරන්න – නොමිලේ hosts sub-domain දෙයි.
  • Register a domain name (e.g. .lk through LK Domain Registry) and point it to the host with DNS.වසම් නාමයක් ලියාපදිංචි කර DNS මගින් host වෙත යොමු කරන්න.
  • Upload files with an FTP client (FileZilla) or the host’s file manager; index.html is the home page.FTP client (FileZilla) හෝ file manager මගින් upload; index.html මුල් පිටුවයි.
  • Create the MySQL database on the host for PHP pages and update the connection settings.PHP සඳහා host හි MySQL දත්ත සමුදාය සාදා සම්බන්ධතා සැකසුම් යාවත්කාලීන කරන්න.

3. Factors affecting performance3. කාර්ය සාධනයට බලපාන සාධක

FactorසාධකයEffectබලපෑම
Page size (large images, video)පිටු ප්‍රමාණය (විශාල රූප, වීඩියෝ)More data → slower loadingදත්ත වැඩි → මන්දගාමී
Bandwidth of the user and the serverපරිශීලක සහ සේවාදායක bandwidthLow bandwidth → slowඅඩු bandwidth → මන්දගාමී
Server speed, load and locationසේවාදායක වේගය, භාරය, ස්ථානයBusy or distant servers respond slowlyකාර්යබහුල/දුර සේවාදායක මන්දගාමී
Number of files and scriptsගොනු සහ scripts ගණනEach file is another requestසෑම ගොනුවක්ම තවත් ඉල්ලීමකි
Browser and deviceබ්‍රව්සරය සහ උපාංගයOld devices render slowlyපැරණි උපාංග මන්දගාමී
🧮 Worked exampleවිසඳූ උදාහරණය A page is 2.5 MB and the user has 10 Mbps. Estimate the load time, then the time after a 1.8 MB image is compressed to 0.5 MB.පිටුව 2.5 MB, bandwidth 10 Mbps. පූරණ කාලය, පසුව 1.8 MB රූපය 0.5 MB කළ පසු කාලය.
2.5 MB × 8 = 20.0 Mbit; 20.0 ÷ 10 = 2.0 s. New size 2.5 − 1.8 + 0.5 = 1.2 MB = 9.6 Mbit, so about 0.96 s – the page loads twice as fast.2.5 MB × 8 = 20.0 Mbit; ÷ 10 = 2.0 s. නව ප්‍රමාණය 1.2 MB; 0.96 s පමණ.
  • Maintenance: update content, fix broken links, back up files and database, renew the domain and check security updates.නඩත්තුව: අන්තර්ගතය යාවත්කාලීන, කැඩුණු සබැඳි, backup, වසම අලුත් කිරීම, ආරක්ෂක යාවත්කාලීන.
💡 1 byte = 8 bits: always multiply MB by 8 before dividing by a speed in Mbps.1 byte = 8 bits: Mbps න් බෙදීමට පෙර MB × 8.
🚀 Beyond the syllabus (2026 update)🚀 විෂය නිර්දේශයෙන් ඔබ්බට (2026 යාවත්කාලීනය) Not required for the exam – read for interest.විභාගයට අවශ්‍ය නැත – දැනුම සඳහා කියවන්න. In 2026 many sites are published free from Git with services such as GitHub Pages or Netlify and served through a CDN close to the user.2026 දී බොහෝ අඩවි GitHub Pages, Netlify වැනි සේවා මගින් Git වෙතින් නොමිලේ ප්‍රකාශනය කර පරිශීලකයාට ආසන්න CDN හරහා සපයයි.

Key Wordsප්‍රධාන පද

Publishingප්‍රකාශනය
Making a website available to its users.අඩවිය පරිශීලකයින්ට ලබා දීම.
Local publishingස්ථානීය ප්‍රකාශනය
Running a site on your own computer or intranet.තම පරිගණකයේ හෝ intranet හි අඩවිය ධාවනය.
localhostlocalhost
Name of your own computer as a web server.වෙබ් සේවාදායකයක් ලෙස තම පරිගණකයේ නම.
IntranetIntranet
Private network inside an organisation.ආයතනයක් තුළ පුද්ගලික ජාලය.
Web hostingවෙබ් සත්කාරකත්වය
Service that stores a site on a server connected to the Internet.අඩවිය අන්තර්ජාල සේවාදායකයක ගබඩා කරන සේවාව.
Web hosting service providerසත්කාරක සේවා සපයන්නා
Company that rents web server space.වෙබ් සේවාදායක ඉඩ කුලියට දෙන සමාගම.
Free web hostingනොමිලේ සත්කාරකත්වය
Hosting at no cost, usually with a sub-domain and adverts.sub-domain සහ දැන්වීම් සහිත නොමිලේ සත්කාරකත්වය.
FTPFTP
File Transfer Protocol used to upload files.ගොනු upload කිරීමට File Transfer Protocol.
Domain nameවසම් නාමය
Name such as nie.lk that points to a server.සේවාදායකයට යොමු nie.lk වැනි නම.
DNSDNS
System that turns domain names into IP addresses.වසම් නාම IP ලිපින බවට හරවන පද්ධතිය.
BandwidthBandwidth
Amount of data that can be sent per second.තත්පරයකට යැවිය හැකි දත්ත ප්‍රමාණය.
Website maintenanceඅඩවි නඩත්තුව
Keeping a site updated, working and secure.අඩවිය යාවත්කාලීනව, ක්‍රියාකාරීව, ආරක්ෂිතව තබා ගැනීම.

Sample Q&Aආදර්ශ ප්‍රශ්න සහ පිළිතුරු

1Local vs Internet publishing?ස්ථානීය සහ අන්තර්ජාල?

Answerපිළිතුර: Local: own computer/intranet; Internet: hosting provider for everyone.තමාට; සැමට.

2What is localhost?localhost?

Answerපිළිතුර: Your own computer acting as a web server.තම පරිගණකය සේවාදායකයක් ලෙස.

3How are files uploaded?upload කරන්නේ?

Answerපිළිතුර: By FTP or the host file manager.FTP හෝ file manager.

4Load time of 2.5 MB at 10 Mbps?2.5 MB, 10 Mbps?

Answerපිළිතුර: 2.0 s.2.0 s.

5Time after compressing the image?රූපය කුඩා කළ පසු?

Answerපිළිතුර: About 0.96 s.0.96 s පමණ.

6Two maintenance tasks?නඩත්තු කාර්ය දෙකක්?

Answerපිළිතුර: Update content; fix broken links; backups.යාවත්කාලීන; සබැඳි.

MCQබහුවරණ ප්‍රශ්න

Choose the correct answer for each question.සෑම ප්‍රශ්නයකටම නිවැරදි පිළිතුර තෝරන්න.

Scoreලකුණු: 0 / 20

1Running a site at http://localhost islocalhost

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D

Local.ස්ථානීය.

2A school network that only staff and students reach is anජාලය

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A

Intranet.Intranet.

3Files are uploaded to a web host usingupload

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D

FTP.FTP.

4Domain names are turned into IP addresses byIP

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E

DNS.DNS.

5A 2.5 MB page at 10 Mbps loads in about2.5 MB

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E

20 Mbit ÷ 10.20 ÷ 10.

6After compressing the image, the page loads in aboutකුඩා කළ

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D

1.2 MB = 9.6 Mbit.9.6 Mbit.

7Which most reduces page loading time?අඩු කරයි

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B

Smaller files.කුඩා ගොනු.

8The default home page file on most servers ishome page

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D

index.html.index.html.

9Which term means: “Making a website available to its users”?“අඩවිය පරිශීලකයින්ට ලබා දීම” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C

Publishing – Making a website available to its users.ප්‍රකාශනය – අඩවිය පරිශීලකයින්ට ලබා දීම.

10Which term means: “Running a site on your own computer or intranet”?“තම පරිගණකයේ හෝ intranet හි අඩවිය ධාවනය” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B

Local publishing – Running a site on your own computer or intranet.ස්ථානීය ප්‍රකාශනය – තම පරිගණකයේ හෝ intranet හි අඩවිය ධාවනය.

11Which term means: “Name of your own computer as a web server”?“වෙබ් සේවාදායකයක් ලෙස තම පරිගණකයේ නම” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C

localhost – Name of your own computer as a web server.localhost – වෙබ් සේවාදායකයක් ලෙස තම පරිගණකයේ නම.

12Which term means: “Private network inside an organisation”?“ආයතනයක් තුළ පුද්ගලික ජාලය” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A

Intranet – Private network inside an organisation.Intranet – ආයතනයක් තුළ පුද්ගලික ජාලය.

13Which term means: “Service that stores a site on a server connected to the Internet”?“අඩවිය අන්තර්ජාල සේවාදායකයක ගබඩා කරන සේවාව” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B

Web hosting – Service that stores a site on a server connected to the Internet.වෙබ් සත්කාරකත්වය – අඩවිය අන්තර්ජාල සේවාදායකයක ගබඩා කරන සේවාව.

14Which term means: “Company that rents web server space”?“වෙබ් සේවාදායක ඉඩ කුලියට දෙන සමාගම” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A

Web hosting service provider – Company that rents web server space.සත්කාරක සේවා සපයන්නා – වෙබ් සේවාදායක ඉඩ කුලියට දෙන සමාගම.

15Which term means: “Hosting at no cost, usually with a sub-domain and adverts”?“sub-domain සහ දැන්වීම් සහිත නොමිලේ සත්කාරකත්වය” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C

Free web hosting – Hosting at no cost, usually with a sub-domain and adverts.නොමිලේ සත්කාරකත්වය – sub-domain සහ දැන්වීම් සහිත නොමිලේ සත්කාරකත්වය.

16Which term means: “File Transfer Protocol used to upload files”?“ගොනු upload කිරීමට File Transfer Protocol” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E

FTP – File Transfer Protocol used to upload files.FTP – ගොනු upload කිරීමට File Transfer Protocol.

17Which term means: “Name such as nie.lk that points to a server”?“සේවාදායකයට යොමු nie.lk වැනි නම” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C

Domain name – Name such as nie.lk that points to a server.වසම් නාමය – සේවාදායකයට යොමු nie.lk වැනි නම.

18Which term means: “System that turns domain names into IP addresses”?“වසම් නාම IP ලිපින බවට හරවන පද්ධතිය” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B

DNS – System that turns domain names into IP addresses.DNS – වසම් නාම IP ලිපින බවට හරවන පද්ධතිය.

19Which term means: “Amount of data that can be sent per second”?“තත්පරයකට යැවිය හැකි දත්ත ප්‍රමාණය” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A

Bandwidth – Amount of data that can be sent per second.Bandwidth – තත්පරයකට යැවිය හැකි දත්ත ප්‍රමාණය.

20Which term means: “Keeping a site updated, working and secure”?“අඩවිය යාවත්කාලීනව, ක්‍රියාකාරීව, ආරක්ෂිතව තබා ගැනීම” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E

Website maintenance – Keeping a site updated, working and secure.අඩවි නඩත්තුව – අඩවිය යාවත්කාලීනව, ක්‍රියාකාරීව, ආරක්ෂිතව තබා ගැනීම.

MCQ answer keyMCQ පිළිතුරු

  1. D – Local.ස්ථානීය.
  2. A – Intranet.Intranet.
  3. D – FTP.FTP.
  4. E – DNS.DNS.
  5. E – 20 Mbit ÷ 10.20 ÷ 10.
  6. D – 1.2 MB = 9.6 Mbit.9.6 Mbit.
  7. B – Smaller files.කුඩා ගොනු.
  8. D – index.html.index.html.
  9. C – Publishing – Making a website available to its users.ප්‍රකාශනය – අඩවිය පරිශීලකයින්ට ලබා දීම.
  10. B – Local publishing – Running a site on your own computer or intranet.ස්ථානීය ප්‍රකාශනය – තම පරිගණකයේ හෝ intranet හි අඩවිය ධාවනය.
  11. C – localhost – Name of your own computer as a web server.localhost – වෙබ් සේවාදායකයක් ලෙස තම පරිගණකයේ නම.
  12. A – Intranet – Private network inside an organisation.Intranet – ආයතනයක් තුළ පුද්ගලික ජාලය.
  13. B – Web hosting – Service that stores a site on a server connected to the Internet.වෙබ් සත්කාරකත්වය – අඩවිය අන්තර්ජාල සේවාදායකයක ගබඩා කරන සේවාව.
  14. A – Web hosting service provider – Company that rents web server space.සත්කාරක සේවා සපයන්නා – වෙබ් සේවාදායක ඉඩ කුලියට දෙන සමාගම.
  15. C – Free web hosting – Hosting at no cost, usually with a sub-domain and adverts.නොමිලේ සත්කාරකත්වය – sub-domain සහ දැන්වීම් සහිත නොමිලේ සත්කාරකත්වය.
  16. E – FTP – File Transfer Protocol used to upload files.FTP – ගොනු upload කිරීමට File Transfer Protocol.
  17. C – Domain name – Name such as nie.lk that points to a server.වසම් නාමය – සේවාදායකයට යොමු nie.lk වැනි නම.
  18. B – DNS – System that turns domain names into IP addresses.DNS – වසම් නාම IP ලිපින බවට හරවන පද්ධතිය.
  19. A – Bandwidth – Amount of data that can be sent per second.Bandwidth – තත්පරයකට යැවිය හැකි දත්ත ප්‍රමාණය.
  20. E – Website maintenance – Keeping a site updated, working and secure.අඩවි නඩත්තුව – අඩවිය යාවත්කාලීනව, ක්‍රියාකාරීව, ආරක්ෂිතව තබා ගැනීම.

Structured Questionsව්‍යුහගත ප්‍රශ්න

1Compare local, intranet and Internet publishing.ක්‍රම තුන. (3 marksලකුණු 3)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
Own computer; LAN; hosting for everyone.තමා; LAN; සැමට.

2List the steps to publish a site through a free web host.පියවර. (5 marksලකුණු 5)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
Test; register; upload by FTP; check links; domain.test; register; upload.

3Explain four factors that affect website performance.සාධක හතර. (5 marksලකුණු 5)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
Page size; bandwidth; server; number of files; device.සාධක හතර.

4Calculate the load time of a 2.5 MB page at 10 Mbps and after compression.ගණනය. (2 marksලකුණු 2)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
2.5 × 8 = 20 Mbit ÷ 10 = 2 s; 1.2 MB → 0.96 s.2 s; 0.96 s.

5Explain why websites must be maintained.නඩත්තුව. (4 marksලකුණු 4)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
Up-to-date content; broken links; security; backups.අන්තර්ගතය; ආරක්ෂාව.

🎮 Game🎮 ක්‍රීඩා

Pick a game. Each one uses words from this lesson.ක්‍රීඩාවක් තෝරන්න. හැම එකක්ම මේ පාඩමේ වචන පාවිච්චි කරනවා.

Summary & Downloadsසාරාංශය සහ බාගත කිරීම්

Key pointsප්‍රධාන කරුණු

  • Test locally with localhost.localhost මගින් පරීක්ෂාව.
  • Intranet sites serve one organisation.intranet එක් ආයතනයකට.
  • Internet publishing uses a hosting provider and FTP.host සහ FTP.
  • Size, bandwidth and server affect speed.ප්‍රමාණය, bandwidth, සේවාදායකය.
  • Maintain content, links and security.අන්තර්ගතය, සබැඳි, ආරක්ෂාව.

Downloadsබාගත කිරීම්

Full Lesson 10 PDFසම්පූර්ණ පාඩම 10 PDF: English · සිංහල

Next: Lesson 10 A/L Exam Practiceඊළඟට: පාඩම 10 A/L විභාග පුහුණුව →

© 2026 schoolict.net (Ruwan Mangala Suraweera). All rights reserved.සියලු හිමිකම් ඇවිරිණි.