diff --git a/docs/book/v1/faq.md b/docs/book/v1/faq.md index d5068f4..b64b3d6 100644 --- a/docs/book/v1/faq.md +++ b/docs/book/v1/faq.md @@ -126,8 +126,8 @@ composer --version The output should be similar to: ```text -Composer version 2.8.5 2025-01-21 15:23:40 -PHP version 8.3.20 (/usr/bin/php) +Composer version 2.9.0 2025-11-13 10:37:16 +PHP version 8.5.0 (/usr/bin/php) Run the "diagnose" command to get more detailed diagnostics output. ``` @@ -167,6 +167,28 @@ Being installed as a system package, it can be updated using the command which u sudo dnf upgrade -y ``` +## How do I delete a virtualhost? + +If for whatever reason you want to delete a virtualhost, you need to do the following: + +* Delete the folder where are the files located + +```shell +sudo rm -rf /var/www/tobedeleted.localhost +``` + +* Delete the Apache configuration file + +```shell +sudo rm -f /etc/httpd/sites-available/desters.localhost.conf +``` + +* Restart httpd server + +```shell +sudo systemctl restart httpd +``` + ## How do I create command aliases? From either your terminal or file explorer, navigate to your home directory (`/home//`).