Hello,
I have a domain pointed to an IP address. Let's say, the domain is mydomain.com and the IP is 12.34.56.78. I've set an A record like this:
gallery.mydomain.com to 12.34.56.78
Now, the gallery is stored in a folder called "galleryfolder"
So, now it can be accessed with "http://12.34.56.78/galleryfolder"
But whenever I visit gallery.mydomain.com, it goes to "http://12.34.56.78" (not "http://12.34.56.78/galleryfolder")
Now I'm wondering how I can use apache virtualhost to point "http://gallery.mydomain.com" to "http://12.34.56.78/galleryfolder"
Another information is that "http://mydomain.com" is pointed somewhere else and I just want to do this for the subdomain.
If I could make you understand the problem I'm having and what I want, could you please help me with this?
Thanks