I have to make a virtual host with xampp. I have IIS installed already for windows 7.
So I had to change port number for apache with Xampp.
I have configured many times different virtual host with port 80 that is default port for apache server.
However right now I have configured virtual host with different port that is 8080. But no luck.
Any body knows how to configure virtual host for apache with xampp using different port number?

Recommended Answers

All 3 Replies

Yes. I have configured with following way:

NameVirtualHost *:8080

<VirtualHost *:8080>
DocumentRoot E:/xampp/htdocs/
ServerName localhost:8080

<VirtualHost *:8080>
DocumentRoot E:/xampp/htdocs/magento
ServerName magento.localhost.com
ServerAlias magento.localhost.com
ErrorLog E:/xampp/htdocs/magento/logs/error.log

I have configured using the above way. But its not working.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.