I am just looking for some direction in where to start. I have 2 computers, one which I'' refer to as "Server" and the other "Main".
I am running Ubuntu FYI.
I would like to have a domain pointed to my server, then have the virtual host file re-direct the request internally across my network to a specific folder on my Main PC. This is were I store all my movies and music. I realise I could just set up a web server on the main PC. Or I could also set up FTP, but I would really liek to route the traffic through my Server.
This is what the file I am working with looks like (On my Server).
<VirtualHost *:80> ServerName test.dev ServerAlias test.dev DocumentRoot /var/www </VirtualHost>
This is aproxx the idea I would like to achieve.
NOTE* 192.168.0.190 is internal IP of my "Main" PC
<VirtualHost 192.168.0.190:80> ServerName test.dev ServerAlias test.dev DocumentRoot /my/movie/dir </VirtualHost>
Also, Ignore test.dev. I know it will only work internally. It will eventually be a registered domain.
So if anyone out there knows what I am trying to achieve and could tell me the name of this concept, or give me some pointers. It would be very helpful.
THANK YOU in adv!