i know this is a classic question that people have ask multiple times but i believe this case is slightly different and I've been struggling with this for one full week now and resources on the internet are just not working with me.i have on windows 7 IIS port 80, xampp 1.7.3 port 8081 and recently zend server ce 5.0.2 port 8082.i manage to install magento on zendserver and after that i could not access the default page for zendserver as in 127.0.0.1:8082.It's point's me to the magento domain which i called localmall (i've added the domain in system32/drivers/etc/hosts file). it was looking like this
i've added the root virtualhost on top of the virtualbox i created and added NameVirtualHost like this<VirtualHost 127.0.0.1:8082>
DocumentRoot "C:\Program Files\Zend\magento"
ServerName localimall.dev
ServerAlias http://www.localimall.dev *.localimall.dev localimall.dev
ErrorLog "C:\Program Files\Zend\magento\logs\error.log"
CustomLog "C:\Program Files\Zend\magento\logs\access.log" combined
<Directory "C:\Program Files\Zend\magento">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
and added the domain in the system32/drivers/etc/hosts file
#127.0.0.1 localhost
#::1 localhost
127.0.0.1 localimall.dev
Now i can't access magento but rather the zendserver default page.as in localmall points to 127.0.0.1:8082.I gave at this point and wanted to create magento virtualhost on a different port that is 8083.NameVirtualHost *:8082
<VirtualHost 127.0.0.1:8082>
DocumentRoot "C:\Program Files\Zend\Apache2/htdocs"
ServerName localhost
</VirtualHost>
# ....
#.....
and uncommented the localhost below
127.0.0.1 localhost
::1 localhost
127.0.0.1 localimall.dev
with this:
this puts me one step close to what i want.i can see the index page of magento but then all the other resources are on port 8082 like depicted on the image below.NameVirtualHost 127.0.0.1:8083
Listen 8083
#<VirtualHost 127.0.0.1:8082>
# DocumentRoot "C:\Program Files\Zend\Apache2/htdocs"
# ServerName localhost
#</VirtualHost>
<VirtualHost *:8083>
DocumentRoot "C:\Program Files\Zend\magento/"
#ServerName localimall.dev
#ServerAlias http://www.localimall.dev *.localimall.dev localimall.dev
ErrorLog "C:\Program Files\Zend\magento\logs\error.log"
CustomLog "C:\Program Files\Zend\magento\logs\access.log" combined
<Directory "C:\Program Files\Zend\magento/">
#Options Indexes FollowSymLinks
AllowOverride All
#Order allow,deny
Allow from all
</Directory>
</VirtualHost>
can anyone shed some light please? i really need a hand.Thanks for reading this