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
LVL 2
MaRiOsGRAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rindiCommented:
Your DNS entries look OK to me. You must have set something on your webserver which further directs www.anthoulakis.gr to your internal virtual webserver. Depending on what type of webserver you are using you will have to change the settings there.
MaRiOsGRAuthor Commented:
Something like what ?
I run apache 2

Is there any option about forwarding that should be in the named.conf file ?
rindiCommented:
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
edkim80Commented:
If you have a virtualhost setup in apache... apache matches the domain name to the directory.  if webforward.gr is a virtual host with a different document root, navigating to www.anthoulakis.gr will not match and not go to the correct document root.  Not sure if this is your problem, but just one scenario that may be happening.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MaRiOsGRAuthor Commented:
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...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.