Step 8
On the computer that has wamp installed (computer1) and all other computers inside your LAN (computer2 and laptop3), no matter it's wire or wireless - watch out for your neighbor's laptops ;-), you can access your websites locally as follows:
http://domain
http://sub1
http://sub2
http://localhost
Step 9
On computers outside your LAN, access your websites as follows:
If using Web IP:
http://123.345.567.789 (to access domain.com)
http://123.345.567.789/sub1 (to access sub1.domain.com)
http://123.345.567.789/sub2 (to access sub2.domain.com)
If already setup domain and subdomains through DNS, access your websites using domain and subdomains as follows:
http://domain.com (to access domain.com)
http://www.domain.com (to access domain.com)
http://sub1.domain.com (to access sub1.domain.com)
http://sub2.domain.com (to access sub2.domain.com)
Congratulation!!! You've just finished setup Virtual Host for both local and global access
Click here to setup Virtual Hosts without Domain based on this guide
Appreciation, Suggestion, Question, or Comment, click here