Page Loader

Most of the example I found showing how to add new domains. But I just want to add new websites.

Example:

I already setup LAMP on 10.10.10.5, and now http://10.10.10.5 is reachable.

How do I create http://10.10.10.5/intra1 and http://10.10.10.5/intra2 ??

This is based on try and error, with my not-so-much exposure to Linux.

1. Login to webmin.
2. Click Servers > Apache Webserver
3. On Existing Virtual Hosts, click Virtual Server icon
4. Click on Alis & Redirects
5. From: /intra1 To: /home/user1/htdocs (you must add user with home and then create htdocs or whatever folder in the home)
6. Click save
7. Back to Servers > Apache Webserver > Existing Virtual Hosts > Virtual Server
8. Check Create Per-Directory, Files or Location Options
7. Type: Directory Regexp: Exact match Path: /home/user1/htdocs, click Save
8. Back to Servers > Apache Webserver > Existing Virtual Hosts > Virtual Server
9. Click Edit Directive
10. Under Directory “/home/user1/htdocs” put “Require all granted” (without double quote).

Done!

Comments
Leave a Reply

Your email address will not be published. Required fields are marked *

Highlights
Recent Posts
Instagram Feed
                                    topglov, harta, supermx, comfort
#bursa
                                    Selain dari pasang batu bata saya juga ambil kontrak potong rumput.

#pkpb #covid19
                                    #kitabakor lagi
                                    #kitabakor
                                    Expecting to close above 10W average this week.. aminnn.
                                    https://scontent.cdninstagram.com/v/t51.2885-15/e35/s320x320/93973591_2583662348565050_5463274316583976513_n.jpg?_nc_ht=scontent.cdninstagram.com&_nc_ohc=LlqmRE5BV4MAX-HK6m4&oh=0e5504787aaa05c90305c5dea64b8fab&oe=5EDAD422
                                    https://scontent.cdninstagram.com/v/t51.2885-15/e35/s320x320/93402322_532745040759024_6091110860798729703_n.jpg?_nc_ht=scontent.cdninstagram.com&_nc_ohc=qd6nLUp_Z_QAX92W-J9&oh=c57f060ccf10bfe0e92551dba9c1fc48&oe=5F02D87C
                                    https://scontent.cdninstagram.com/v/t51.2885-15/e35/s320x320/93100512_1537334973102603_72053284478751020_n.jpg?_nc_ht=scontent.cdninstagram.com&_nc_ohc=P15VJJlrVDgAX9pk-5j&oh=0c9dd5766ba34cb7c71198dd0f84ccd5&oe=5F021221
                                    #botolinone
#stayathomechallenge
#chipshotchallenge