Types of web hosting, FTP Client

Web hosting वह public server space देता है जहाँ आपकी website files रहती हैं, जबकि एक FTP client वह सुरक्षित पुल है जो उन files को आपके laptop से उस server तक ले जाने के लिए इस्तेमाल होता है।

10 min read · 10 cards · 2 checks

Read in: English · हिन्दी · ગુજરાતી


Theory

आपके Laptop पर अटका Portfolio

आपने साफ़ HTML tables और polished CSS selectors के साथ एक शानदार portfolio website बनाई है। जब आप इसे locally खोलते हैं यह शानदार दिखती है। पर एक बड़ी बाधा है: आपका browser address bar file:///C:/Users/BCA/index.html पढ़ता है। अगर आप यह address एक campus recruiter को भेजते हैं, वे एक error page देखेंगे। आपकी files आपके local computer drive पर अलग-थलग हैं। आप public internet पर अपने code के लिए एक स्थायी घर कैसे खोजते हैं, और आप असल में अपनी files वहाँ कैसे ले जाते हैं?

Theory

किराए की Shop और Cargo Truck

web hosting को एक विशाल commercial market complex के अंदर एक retail store किराए पर लेने की तरह सोचिए। आप पूरी concrete building नहीं ख़रीदते: आप बस अपना सामान public को दिखाने के लिए floor space की एक ख़ास मात्रा किराए पर लेते हैं। पर, वह space किराए पर लेना बस step 1 है। आपको फिर भी अपने inventory को अपने घर के warehouse से उस storefront तक ले जाने के लिए एक भरोसेमंद cargo truck चाहिए। Web hosting आपका किराए का internet storefront है, और एक FTP client आपके code को सुरक्षित रूप से ले जाता cargo truck है।

Theory

Hosting और FTP को औपचारिक रूप से समझना

university examinations में, Web Hosting एक internet service के रूप में परिभाषित है जो आपकी website files रखने के लिए एक विशेष web server machine पर storage space आवंटित करती है, उन्हें World Wide Web के ज़रिए accessible बनाते हुए। FTP (File Transfer Protocol) IP networks भर files copy करने के लिए इस्तेमाल standard client:server network protocol है। एक FTP Client आपके local machine पर चलता software application है जो इन remote uploads execute करने के लिए एक साफ़ visual interface देता है।

At a glance

Table 1: मुख्य Web Hosting Solutions का विश्लेषण

Hosting TypeResource AllocationCost StructureBest Used For
Sharedकई web sites 1 अकेली server hardware machine साझा करती हैंबहुत सस्ता और सुलभStudent portfolios और छोटे personal blogs
VPS (Virtual Private Server)1 physical server अलग virtual operating systems में बँटा हैमध्यम pricingबढ़ते college festival portals या business pages
Dedicated1 पूरी physical server machine अनन्य रूप से 1 client को किराए परअत्यधिक महँगाबड़े banking systems या भारी university networks
Cloudकई जुड़े virtual web servers का एक लचीला networkअसल hourly traffic इस्तेमाल के हिसाब से भुगतानअप्रत्याशित traffic उछाल वाली scalable e-commerce sites

Follow along

FTP के ज़रिए अपनी Website Deploy करना

  1. Hosting Credentials हासिल करना अपना explicit FTP server address, account username, secret password, और standard connection port, जो default रूप से port 21 है, पाने के लिए अपने web hosting control panel में log in कीजिए।
  2. Client को Connect करना FileZilla जैसा एक FTP client खोलिए, अपने इकट्ठा किए credentials शीर्ष Quickconnect bar में डालिए, और अपने computer को remote host से जोड़ने के लिए connection शुरू कीजिए।
  3. Public Directory खोजना दाईं ओर दिखाए remote server view panel में, designated root public folder खोजिए और खोलिए, जो लगभग हमेशा public_html या www नाम का होता है।
  4. Local Files Upload करना बाईं ओर panel से अपनी local folder files चुनिए, उन्हें दाईं ओर खुले public folder में खींचिए, और पूरा होने तक transfer queue track कीजिए।

Quiz

आपके college department को एक सख़्त, न्यूनतम budget पर एक 2 दिन के technical festival के लिए एक छोटी, temporary static website launch करनी है। आपको कौन सा hosting type सुझाना चाहिए?

  1. Dedicated Hosting
  2. Shared Hosting
  3. VPS Hosting
  4. fixed scale के साथ Cloud Hosting
Show the answer

Shared Hosting

Shared hosting एक कम traffic, temporary static project के लिए सबसे किफ़ायती और सीधा चुनाव है। Dedicated और cloud infrastructures विशाल ग़ैर-ज़रूरी processing power देते हैं और जटिल setups माँगते हैं, high university budget waste की ओर ले जाते हुए।

Think first

Directory Listing Error

आपने FileZilla के ज़रिए अपना पूरा assignment folder server पर upload किया, पर जब आप अपना domain name एक browser में type करते हैं, आप अपने design किए home page के बजाय एक raw file list देखते हैं। reveal करने को tap करने से पहले file name error मन में निकालने की कोशिश कीजिए।

Show the answer

Web server software entry point के रूप में load करने के लिए अपने-आप एक ख़ास default file name खोजता है। अगर आपका main page 'home.html', 'portfolio.html' नाम का है, या uppercase अक्षरों जैसे 'Index.html' के साथ लिखा है, server इसे match करने में विफल होता है। आपको अपनी primary landing file को बिल्कुल index.html पूरी तरह lowercase में नाम देना होगा।

Watch out

अदृश्य Root Directory जाल

web publishing lab practicals में marks खोने का सबसे आम तरीक़ा files को उस बिल्कुल पहले folder layout में सीधे upload करना है जो आप connect करने पर देखते हैं। अगर आपके assets public_html या www directory के बाहर बैठते हैं, वे आपके domain track करते web browsers के लिए पूरी तरह अदृश्य हैं। हमेशा पक्का कीजिए कि upload click करने से पहले दाईं ओर आपका destination path public_html पर ख़त्म होता है, वरना visitors को एक 404 error का सामना करना होगा।

Theory

Production Deployment Workflows

जबकि FileZilla जैसे tools के साथ हाथ का FTP file transfers सीखना आपके second semester curriculum की एक अहम ज़रूरत है, professional tech industries automated deployment pipelines इस्तेमाल करती हैं। अपनी बाद की cloud computing classes में, आप GitHub Actions जैसे CI/CD systems configure करेंगे। ये programs जब भी आप code update करते हैं अपने-आप आपकी updated files secure connections के ज़रिए production servers तक copy करते हैं, हाथ के काम को पूरी तरह बदलते हुए।

Summary

Key takeaways

  • Web hosting एक active internet server पर समर्पित digital storage space assign करता है ताकि website assets globally सक्रिय रहें।
  • Shared hosting कई users के बीच एक अकेला server साझा करता है, इसे कम cost वाले student portfolios के लिए आदर्श बनाते हुए।
  • FTP structural networking protocol है जो local drives और remote internet servers के बीच files ले जाता है।
  • FileZilla एक आम graphical FTP client है जो intuitive double panel layouts के ज़रिए files manage करता है।
  • Files को सीधे public_html directory के अंदर upload करना होगा और सही दिखने के लिए एक index.html file से शुरू होना होगा।
  • Memory hook: space के लिए Host, chase के लिए FTP!

Study this properly

This page is the lesson to read. In Gri-Learn the same topic is a graded deck: the self-checks are scored and your weak topics are tracked. Free to start.

Start this topic

Already have an account? Sign in

More from Basics of Web Publishing and Case Study

Gri-Learn · syllabus-mapped B.C.A. lessons in English, Hindi and Gujarati

Types of web hosting, FTP Client · Designing and Publishing Website (SEC-02 option B) · Gri-Learn