File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -169,18 +169,18 @@ sudo dnf upgrade -y
169169
170170## How do I delete a virtualhost?
171171
172- If for whatever reason you want to delete a virtualhost, you need to do the following:
172+ If for whatever reason you want to delete a virtualhost, for instance ` to-be-deleted.localhost ` you need to do the following:
173173
174- * Delete the folder where are the files located
174+ * Delete the folder where the files are located
175175
176176``` shell
177- sudo rm -rf /var/www/tobedeleted .localhost
177+ sudo rm -rf /var/www/to-be-deleted .localhost
178178```
179179
180180* Delete the Apache configuration file
181181
182182``` shell
183- sudo rm -f /etc/httpd/sites-available/desters .localhost.conf
183+ sudo rm -f /etc/httpd/sites-available/to-be-deleted .localhost.conf
184184```
185185
186186* Restart httpd server
Original file line number Diff line number Diff line change @@ -218,18 +218,18 @@ sudo systemctl restart mariadb
218218
219219## How do I delete a virtualhost?
220220
221- If for whatever reason you want to delete a virtualhost, you need to do the following:
221+ If for whatever reason you want to delete a virtualhost, for instance ` to-be-deleted.localhost ` you need to do the following:
222222
223223* Delete the folder where are the files located
224224
225225``` shell
226- sudo rm -rf /var/www/tobedeleted .localhost
226+ sudo rm -rf /var/www/to-be-deleted .localhost
227227```
228228
229229* Delete the Apache configuration file
230230
231231``` shell
232- sudo rm -f /etc/httpd/sites-available/desters .localhost.conf
232+ sudo rm -f /etc/httpd/sites-available/to-be-deleted .localhost.conf
233233```
234234
235235* Restart httpd server
You can’t perform that action at this time.
0 commit comments