I was told to "modify the zone file (A, CNAME, and MX records) for your domain". Does this make any sense to you? Is it an alternative to asking the hosting provider?
thanks
Main Topics
Browse All TopicsHi,
I just bought a new domain name, set up the nameservers and was trying to point it directly to my hosting account.
I wish that the new domain points to my folders which are currently stored under a subdomain (www.sub.old.com).
I tried the 'permanent redirect' feature; however that's no what I intended to do. The problem being - the domain changes back to the www.sub.old.com when the page loads up. I do not wish to use masking or cloaking as that will effect my SEO.
Which method should I use pls? Is this a setting from my hosting account or something I can setup from where I bought the domain (in my case "go daddy . com")?
Thanks.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
You need to set up an A record like this:
newdomain.com IN A xxx.xxx.xxx.xx
- where xxx.xxx.xxx.xx is the IP address of your host.
You then need to add the new domain to from within your control panel. If there is no option to do this from your control panel, you need to contact your host and ask them to add the new domain to your account.
well... i couldn't do any of your suggestions, so I forwarded my new domain to the subdomain using cloaking, then I redirected the old domain in htaccess to the new domain.
# Permanent Redirect
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.old\.subdomain\.nl
RewriteRule (.*) http://www.newdomain.com/$
However when i log in www.newdomain.com i cannot see the filename (www.newdomain.com/filenam
Thanks.
It sounds like you might be using domain masking. If this was the case, I couldn't see how the rewrite would work.
Here's some general info about domain masking and URL cloaking:
http://en.wikipedia.org/wi
http://en.wikipedia.org/wi
Yes it's masking... sorry I thought masking and cloaking were the same thing. The page is framed yes.
How could I go around this problem please?
I also tried a permanent redirect from my new domain to my old domain and then used the same htaccess code which in this case didn't work either.
Am I using the right methods?
Thanks.
The reason any redirect will not work is because you are basically redirecting the new domain to the old one, and then using a rewrite rule to redirect back to the new one. This causes an infinite loop.
Will your host not add the new domain to your account? On an Apache server, the domain needs to be entered and defined as a virtual host. I'm afraid this is the only way if you want to use your new domain as the primary one.
One other solution would be to change the domains (if you are only allowed one domain in your account). Add the new one to your account and have the old one redirected to the new one.
Business Accounts
Answer for Membership
by: mjb001Posted on 2009-08-27 at 13:55:24ID: 25202610
You have to use a frame page, but for seo this will not help.
Ask your hosting provider to accept the new domain for your "old" site.