MaRiOsGR
asked on
Forwarding in DNS
I want to forward the domain name www.anthoulakis.gr to the website of www.webforward.gr
heres the table of anthoulakis.gr :
$TTL 86400
@ IN SOA ns1.webforward.gr. webforward.gr. (
1119859958
10800
3600
604800
86400 )
anthoulakis.gr. IN NS ns1.webforward.gr.
anthoulakis.gr. IN NS ns2.webforward.gr.
anthoulakis.gr. IN A 64.34.183.74
www.anthoulakis.gr. IN CNAME www.webforward.gr.
If u open www.webforward.gr it redirects u to a page.
If u open www.anthoulakis.gr wont go to the previous page but to the page that opens with ip 64.34.183.74
but i just want to type www.anthoulakis.gr and go straight to www.webforward.gr page
heres the table of anthoulakis.gr :
$TTL 86400
@ IN SOA ns1.webforward.gr. webforward.gr. (
1119859958
10800
3600
604800
86400 )
anthoulakis.gr. IN NS ns1.webforward.gr.
anthoulakis.gr. IN NS ns2.webforward.gr.
anthoulakis.gr. IN A 64.34.183.74
www.anthoulakis.gr. IN CNAME www.webforward.gr.
If u open www.webforward.gr it redirects u to a page.
If u open www.anthoulakis.gr wont go to the previous page but to the page that opens with ip 64.34.183.74
but i just want to type www.anthoulakis.gr and go straight to www.webforward.gr page
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No, your DNS seems OK to me, I can run a dig on both your addresses and get the same IP back, so that goes to your server, so you shouldn't need to change anything in named.
I don't know apache, but there must be some setting there which redirects the request to the correct folder. Maybe the following link may get you on the right track:
http://httpd.apache.org/docs-2.0/urlmapping.html
I don't know apache, but there must be some setting there which redirects the request to the correct folder. Maybe the following link may get you on the right track:
http://httpd.apache.org/docs-2.0/urlmapping.html
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Things are getting more complicated here..
Look im running Plesk 7.5.3 on Red Hat.
the box has 2 DNS servers running.
The 1st one is controled by Plesk for the dns services of it's domains.
and the second is build by me,to run only for forwarding proposes.
The webforward domain is hosted on plesk and its pointing in the page of www.webforward.gr i
www.anthoulakis.gr does not exist as a "domain" or "client" or anything else on the plesk panel.
I've just added the zone files and everything else on the 2nd DNS server.
the conclusion is that I have to find how to I define "default Domain IP" in plesk,
or something like that...
Look im running Plesk 7.5.3 on Red Hat.
the box has 2 DNS servers running.
The 1st one is controled by Plesk for the dns services of it's domains.
and the second is build by me,to run only for forwarding proposes.
The webforward domain is hosted on plesk and its pointing in the page of www.webforward.gr i
www.anthoulakis.gr does not exist as a "domain" or "client" or anything else on the plesk panel.
I've just added the zone files and everything else on the 2nd DNS server.
the conclusion is that I have to find how to I define "default Domain IP" in plesk,
or something like that...
ASKER
I run apache 2
Is there any option about forwarding that should be in the named.conf file ?