[MPlayer-mirror] reverse proxy for samples mirror

infernix infernix at infernix.net
Fri Nov 16 14:24:21 CET 2007


Mike Melanson wrote:
> Domains  ::Parked Domains
> =========================
> Domain pointers allow you to "point" or "park" additional domain names
> to your existing hosting account. This will allow users to also reach
> your website when entering the "parked" or "pointed" domain into their
> browsers. Parked Domains are relative to your account's home directory.
> 
> Do either of those sound right? Thanks...

Based on some googling I'm almost 100% sure a parked domain is what you 
need, as it is added as a ServerAlias.

If you have a site called foo.com and want the same site to also be 
reachable under bar.com, you'd add the foo.com domain to cpanel and then 
  add bar.com as a parked domain pointing towards foo.com.

Both foo.com and bar.com should then show the same site, and the address 
in the URL should stay whatever the user entered (unless you use rewrite 
rules or site code which check urls or redirect; then bar.com might 
redirect to foo.com).

So, I think this might work:

a) add a new subdomain site in cpanel called something like 
mplayer.multimedia.cx and use the rsync script to mirror to the sites 
documentroot
b) add parked domains to it for www.mplayerhq.hu and www8.mplayerhq.hu 
(i'm guessing 8 since thats free, Diego should confirm that).

Now I'm not sure but if cpanel requires that DNS is pointing to the 
servers IP before you can add it as a parked domain, you might need to 
coordinate with Diego once you add the www.mplayerhq.hu domain for 
round-robin, and www8 would have to be added first anyway.

Good luck :)



More information about the MPlayer-mirror mailing list