Web forwarding/masking on DA

kobezt08

New member
Joined
Aug 26, 2009
Messages
2
Hi all,

I'm totally new to the use of DA panel. Currently, I'm helping my club to set up it's site and is having some issue doing masking of url through DA. Here's an example of my problem.

Domain: domain.com

Under domain.com I created an A record for one.domain.com to mirror a second site (say on ip 123.123.123) on a separate server.

Having done so without much problem, now i'm having problem creating a another A record for two.domain.com to mirror to a directory under the second site (http://123.123.123/folder).

Searching through lots of different sites, I understand that i can make use of 'Site Redirection' is a possible solution. However, under the site redirection setting page, my local url path is fixed to the domain.com/.

Really need someone to help me with this.
 
So just point the dns and do the redirection on the receiving server.
 
To clarify a bit...

You can't use DNS to define a path to a directory. All DNS does is creates a one-to-one or one-to-many relationship between a fully-qualified domain name and an IP#.

And you can't redirect requests to a foreign (not on your system) domain name from your system simply because they'll never get to your server in the first place.

What you can do is create a subdomain two.example.com on your local system and then use either an .html redirect or an .htaccess redirect.

Jeff
 
Thanks alot Jeff.
I've manage to bypass my issue using .htaccess as per you suggestion.
 
Back
Top