Currently Empty: ₹0.00
Public_HYML — public_html क्या है और इसका उपयोग कैसे होता है?
जब आप cPanel Hosting पर Website बनाते हैं, तो Website की Files को एक खास Folder में रखा जाता है। कई cPanel Hosting Accounts में इस Folder का नाम public_html होता है।
सरल भाषा में, public_html वह मुख्य Folder होता है जहाँ आपकी Primary Website की Public Files रखी जा सकती हैं। जब कोई Visitor आपके Domain को Browser में खोलता है, तो Server इसी Document Root से Website की Files उपलब्ध कराता है।
उदाहरण के लिए, अगर आपका Domain है:
example.com
तो आपकी Website की Files कई Hosting Configurations में इस तरह हो सकती हैं:
public_html/index.php
public_html/wp-content/
public_html/wp-admin/
public_html/wp-includes/
public_html का क्या काम है?
public_html को Website के Document Root के रूप में इस्तेमाल किया जा सकता है।
इसका मतलब है कि इस Folder में रखी Website Files को आपके Domain के माध्यम से Public Internet पर Access किया जा सकता है, यदि Server Configuration उन्हें Serve कर रही हो।
उदाहरण:
public_html/index.html
Browser में:
खोलने पर यह File Website का मुख्य Page हो सकती है।
इसी तरह:
public_html/about.html
Browser में:
के रूप में Open हो सकती है।
WordPress में public_html
अगर आपने public_html के अंदर WordPress Install किया है, तो वहाँ WordPress की मुख्य Files और Folders दिखाई दे सकते हैं।
उदाहरण:
public_html/
│
├── wp-admin/
├── wp-content/
├── wp-includes/
├── wp-config.php
├── index.php
├── wp-login.php
└── .htaccessयह WordPress Installation का सामान्य उदाहरण है। वास्तविक Files Hosting और WordPress Configuration के अनुसार थोड़ी अलग हो सकती हैं।
wp-content Folder कहाँ होता है?
WordPress में wp-content Folder आमतौर पर public_html के अंदर होता है।
इसके अंदर:
plugins — Installed Plugins की Files
themes — Installed Themes की Files
uploads — Media Library की Images और अन्य Uploads
जैसे महत्वपूर्ण Folders होते हैं।
इसलिए WordPress Website की Files Manage करते समय public_html → wp-content का रास्ता बहुत उपयोगी होता है।
public_html में Website Upload कैसे करें?
अगर आपने अपनी Website की Files Computer पर बनाई हैं, तो उन्हें cPanel के File Manager से public_html में Upload किया जा सकता है, यदि वही आपके Domain का Document Root है।
सामान्य प्रक्रिया:
cPanel → File Manager → public_html → Upload → Website Files
Upload करने के बाद यह Check करें कि आपकी Website की मुख्य File सही Location पर है।
उदाहरण:
public_html/index.html
या WordPress Website में:
public_html/index.php
public_html में index file क्यों महत्वपूर्ण है?
जब कोई Visitor केवल Domain खोलता है:
तो Web Server सामान्यतः एक Default Directory Index File खोजता है।
यह अक्सर:
index.html
या:
index.php
जैसी File हो सकती है।
WordPress में मुख्य Request Processing के लिए index.php महत्वपूर्ण होती है।
क्या हर Website public_html में होती है?
नहीं।
यह एक महत्वपूर्ण बात है।
कई cPanel Hosting Environments में Primary Domain का Document Root public_html होता है, लेकिन Addon Domains, Subdomains या विशेष Server Configurations के लिए अलग-अलग Document Root हो सकते हैं।
इसलिए किसी Website की Files खोजते समय केवल public_html को ही निश्चित Location नहीं मानना चाहिए। Domain की Document Root Setting Check करनी चाहिए।
public_html में क्या नहीं करना चाहिए?
public_html में Website की महत्वपूर्ण Files होती हैं, इसलिए बिना जानकारी के Files Delete या Move नहीं करनी चाहिए।
विशेष रूप से:
wp-config.php
.htaccess
index.php
wp-admin
wp-content
wp-includes
जैसी Files और Folders में गलत बदलाव करने से WordPress Website में Error आ सकता है।
किसी महत्वपूर्ण File को Edit या Delete करने से पहले Backup रखना अच्छा अभ्यास है।
public_html और Home Directory में अंतर
cPanel Account की एक बड़ी Home Directory होती है, जिसके अंदर कई System और Hosting-related Folders हो सकते हैं।
public_html उस Home Directory के अंदर मौजूद Website Document Root हो सकता है।
सरल रूप में:
Home Directory → पूरा Hosting Account
public_html → Website की Public Files का Document Root
public_html और WordPress में संबंध
अगर WordPress आपकी Primary Domain के Document Root में Install है, तो सामान्यतः उसका Structure इस तरह दिखाई दे सकता है:
Domain
↓
public_html
↓
WordPress
↓
wp-admin + wp-content + wp-includes + WordPress Files
इसलिए cPanel में WordPress Website Manage करते समय public_html को समझना बहुत जरूरी है।
निष्कर्ष
public_html cPanel Hosting में अक्सर Primary Website का Document Root होता है। इसमें रखी Website Files Server Configuration के अनुसार आपके Domain से Public Internet पर उपलब्ध हो सकती हैं।
WordPress Website के लिए यह Folder विशेष रूप से महत्वपूर्ण है, क्योंकि इसके अंदर WordPress की मुख्य Files और wp-content जैसे महत्वपूर्ण Folders हो सकते हैं।
आसान भाषा में याद रखें:
Home Directory = पूरा Hosting Account
public_html = Website का Document Root
wp-content = Themes + Plugins + Uploads
index.php = WordPress की महत्वपूर्ण मुख्य File
SNCEC PORTAL
Student & Website Links
Quick access to student services, courses, learning resources and SNCEC information.
Student Login
Access your student account
Student Registration
Create your student account
Student Dashboard
Manage your learning activities
Courses
Explore our job-oriented courses
All Courses List
View complete course catalog
Mock Tests & Quizzes
Practice and test your knowledge
Student Zone
Access student services and resources
Student Zone →Learning Portal
Access online learning resources
Open Portal →Knowledge Base
Access computer learning notes and knowledge resources
Open Knowledge Base →SNCEC Digital Seva
Access digital services and online assistance
Open Digital Seva →Instructor Registration
Join us as an instructor
Our Team
Meet our professional team
About Us
Learn more about SNCEC
Contact Us
Get in touch with our team
Computer Shop
Computers, accessories & IT products
SNCEC Official Website
Shree Narayan Computers & Education Center






