Results 1 to 2 of 2
I installed apache.
i want to add (for test purpose) activetest.com as a virtualhost in my local machine and show its access in the browser.
How could I do this??...
- 08-19-2009 #1Just Joined!
- Join Date
- Aug 2009
- Posts
- 3
accessing a virtual host in local machine
I installed apache.
i want to add (for test purpose) activetest.com as a virtualhost in my local machine and show its access in the browser.
How could I do this??
- 08-20-2009 #2Just Joined!
- Join Date
- Aug 2009
- Posts
- 3
And Igot the solution too
NameVirtualHost *:80
<VirtualHost 192.168.1.15:80>
ServerAdmin ajo@host9.activein.com
DocumentRoot /opt/htdocs # the path
ServerName activetest.com
</VirtualHost>
also create an entry to /etc/hosts
192.168.1.15 sub.activetest.com activetest.com activeaddon.com
the sites listed here will be accessed from the local machine itself.


Reply With Quote