This video talks about how you can set up apache using the httpd.conf file and the hosts file so that you can host multiple ip addresses, multiple ports, or multiple domain names on the same computer.
A useful technique when you are trying to do some cross-domain testing with websites or APIs.
Code GIST for httpd.conf extracts: [ Ссылка ]
Code GIST for hosts file: [ Ссылка ]
Apache Reference: [ Ссылка ]
![](https://i.ytimg.com/vi/EwUbAiaUFgg/maxresdefault.jpg)