URL Frame redirect

Discussion in 'General' started by WibbleWobble, Jan 9, 2014.

  1. WibbleWobble

    WibbleWobble New Member

    I need to make URL Frame redirect. Let's say that I have server running ISPConfig3 (and everything else) on IP (this serves mydomain.tld and some other domains) and I cannot use separate server (different IP) to handle URL Frame redirects. Redirect should preferably be done by using combination of DNS records, alias domains, index.php that handles the actual frame stuff and maybe subdomain.

    Example of what I'm trying to achieve:

    I have domain mydomain.tld and I want to redirect news.mydomain.tld to URL http://www.somesite.tld/news/today with URL Frame so that visitor will see address news.mydomain.tld on browsers addressbar but the content is from http://www.somesite.tld/news/today. It should also be noted that the same redirect should be used for all URL Frame redirects on this server.

    This is what I have right now:
    Subdomain redirect.mydomain.tld.
    Index.php that handes frames, this is located at above subdomain and its path is /var/www/clients/client1/web1/web/redirect.
    A-record for mydomain.tld (news A
    Aliasdomain news.mydomain.tld. Here I don't exactly know what to put in redirect path, but I have tried /var/www/clients/client1/web1/web/redirect (works ok for mydomain.tld, but not for other sites, because they get forbidden message) and redirect.mydomain.tld (originally requested address changes to redirect.mydomain.tld and I cannot have that).

    Any help will be much appreciated. :)

    Ok, it seems that all I needed was a good night's sleep. I should have used mydomain.tld as parent domain for every aliasdomain.
    Last edited: Jan 10, 2014

Share This Page