Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/book/v1/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,18 +169,18 @@ 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:
If for whatever reason you want to delete a virtualhost, for instance `to-be-deleted.localhost` you need to do the following:

* Delete the folder where are the files located
* Delete the folder where the files are located

```shell
sudo rm -rf /var/www/tobedeleted.localhost
sudo rm -rf /var/www/to-be-deleted.localhost
```

* Delete the Apache configuration file

```shell
sudo rm -f /etc/httpd/sites-available/desters.localhost.conf
sudo rm -f /etc/httpd/sites-available/to-be-deleted.localhost.conf
```

* Restart httpd server
Expand Down
6 changes: 3 additions & 3 deletions docs/book/v2/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,18 +218,18 @@ sudo systemctl restart mariadb

## How do I delete a virtualhost?

If for whatever reason you want to delete a virtualhost, you need to do the following:
If for whatever reason you want to delete a virtualhost, for instance `to-be-deleted.localhost` you need to do the following:

* Delete the folder where are the files located

```shell
sudo rm -rf /var/www/tobedeleted.localhost
sudo rm -rf /var/www/to-be-deleted.localhost
```

* Delete the Apache configuration file

```shell
sudo rm -f /etc/httpd/sites-available/desters.localhost.conf
sudo rm -f /etc/httpd/sites-available/to-be-deleted.localhost.conf
```

* Restart httpd server
Expand Down