AWS · मराठी आवृत्ती
Static hosting interview प्रश्नोत्तरं
या page मध्ये
Q1. Document root?
Files serve करायचा folder. साध्या mapping मध्ये URL path त्याला जोडून file शोधतो; aliases/rewrites असतील तर mapping बदलते.
Q2. एका IP/port वर अनेक sites?
Host header वर name-based vhost निवड: Nginx server_name, Apache ServerName.
Q3. 403 troubleshoot?
Index, namei -l ने parent permissions, owner, SELinux labels/logs आणि Require/root directives तपासा.
Q4. sites-available/enabled?
Available मध्ये configs; enabled मध्ये include होणारे symlinks. Nginx ln -s, Ubuntu Apache a2ensite.
Q5. Local folder upload?
scp -i key.pem -r ./site user@IP:~/; rsync; server-side git clone; SFTP clients.
Q6. HTTPS?
Domain workflow मध्ये DNS स्थिर IP कडे, validation साठी 80, HTTPS 443, Certbot plugin, certificate install आणि tested automatic renewal. IP certificates चा स्वतंत्र supported workflowही आता आहे.