# Static hosting practice आणि labs

Source: https://ravindrabagale.com/mr/aws/ch07-static-website-hosting-3-oses-2-web-servers/practice-questions-and-lab-exercises.html
Language: mr (Marathi with English technical terms)

Static website म्हणजे काय? तीन examples.

सहा combinations चे root, config आणि worker user लिहा.

CentOS restorecon आणि mv labels समजावा.

college.example.com आणि /var/www/college साठी Nginx/Apache blocks लिहा.

403 ची चार कारणं आणि प्रत्येक check.

Ubuntu/Nginx वर git clone वापरून portfolio lab host करा.

CentOS/Apache वर तेच; moved file चे labels तपासा आणि आवश्यक restorecon करा.

दोन sites, दोन Host-header curl tests.

Quick revision

Create/upload → /var/www/mysite deploy → folders755/files644 → block/vhost → config test → reload → browser. Nginx conf.d किंवा Ubuntu sites-available/enabled; Apache conf.d किंवा a2ensite. CentOS labels/firewall. Diagnose curl, ss, logs, SG.

Chapter 8 config line by line; Chapter 9 domain. Files, folder, config, permissions आणि reload हे पक्के करा.

रवींद्र बागले यांची tip

किमान दोन combinations करा — एक Nginx, एक Apache — म्हणजे फरक प्रत्यक्ष लक्षात राहील.
