🚀 Is building a website too difficult? Let me guide you step by step—Learn about the 「Naibabiji WordPress Website Building Coaching Service」 →

#Website Building# LNMP One-Click Package Adding Virtual Host Graphic and Video Tutorial

Previously shared#WebsiteBuilding# LNMP One-Click Package Installation Graphic and Video TutorialAfter that, this article shares how to use LNMP to add a virtual host tutorial.

LNMP Adding Virtual Host Graphic Tutorial

After connecting to the VPS via SSH, enter the command to add a virtual host: lnmp vhost add, then press Enter. The following prompt will appear:LNMP添加虚拟主机教程Enter the domain name you want to bind here, then press Enter.LNMP添加虚拟主机教程Here you are asked if you need to bind other domainsWhat does this mean?For example, if you need both www.naibabiji.com and naibabiji.com to access the same website, then you need to enter it here; otherwise, just press Enter to skip.LNMP添加虚拟主机Here you set the website directory. Just press Enter, and the website directory will be set to the domain folder under /home/wwwroot.是否启用伪静态Whether to enable pseudo-static, enter y and press Enter.输入伪静态规则Enter the pseudo-static rules here. For installing WordPress, simply enter 'wordpress'. If WordPress is installed in a subdirectory, enter 'wp2'.是否启用logEnable website logs? y to enable, n to disable.LNMP日志名称If enabled, you need to enter the name of the log to be set. The default log directory is: /home/wwwlogs/ and the default filename is: domain.log启用数据库Create a database? Choose yes. If you want to create it manually or use a database from elsewhere, then choose n.LNMP输入数据库Enter the database password, then enter the database name and password to create, and press Enter.生成SSLThen enter y to generate an SSL certificate, and enter 2 to create a free Let's Encrypt certificate. If you have your own certificate, enter 1 and then enter the corresponding certificate location.SSL证书The appearance of the above interface indicates that the virtual host has been successfully added.

LNMP Add Virtual Host Video Tutorial

https://v.youku.com/v_show/id_XNDE4NTY3NzQ1Mg==.html?spm=a2h3j.8428770.3416059.1 If you still have questions, you can add WeChat or join the group for discussion.

🚀 Still feeling confused after reading the tutorial? Let me guide you step-by-step instead.

「Naibabiji WordPress Website Building Coaching」 — From selecting a domain and purchasing hosting to installing themes and publishing posts, I「ll guide you through every step, helping you avoid detours and reach your goals directly.

👉 Learn about Website Building Coaching Service
🔒

Comments are closed

The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.

×
二维码

Scan to Follow