Skip to content

Commit c5eea88

Browse files
authored
Use Custom Domain Instead of localhost in XAMPP
Xampp local domain example.org virtualhost with SSL for apache and Laravel.
1 parent 48de353 commit c5eea88

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,23 @@ Xampp local domain example.org virtualhost with SSL for apache and Laravel.
77
Open file as administrator **C:\Windows\System32\drivers\etc\hosts** and append hosts
88

99
```sh
10-
# Local domains
10+
# Local domains and localhost
1111
127.0.0.10 db.xx www.db.xx
1212
127.0.0.11 example.org www.example.org
13-
127.0.0.12 app.xxx www.app.xx
1413
```
1514

1615
## Create directory for domain and index.php file
1716

1817
```sh
19-
# Domain dir
18+
# Domain dirs
19+
D:/www/localhost
20+
D:/www/db.xx/public
2021
D:/www/example.org/public
2122

2223
# Apache index.php file with
2324
# <?php echo "works ...";
25+
D:/www/localhost/index.php
26+
D:/www/db.xx/public/index.php
2427
D:/www/example.org/public/index.php
2528
```
2629

0 commit comments

Comments
 (0)