Need to point site to another site in index.html

I am in a pickle and have a new approach (Plan B at the bottom)

I need to forward my domain to a partner's website, but I need emails to work using my domain.

I prefer hosting at

The problem I had when creating a CNAME record was I got the domain to forward, but that broke the email. The MX records were being read from the target website, which is not RackSpace.

So, I canceled my email accounts at RackSpace and create new accounts at Zoho, thinking this would solve the problem.

It did not.

Here are my three attempts from BlueHost:

With A Record
With No A Record and No CNAME
With A Record and CNAME
Any other ideas for this before going to Plan B?

My new approach is to point my domain at a real super-simple website. In the index.html I re-route to the target domain.

Any problems with this?

My partner’s IT guy said it was okay to forward all traffic.

What does the index.htm look like?
What is that one line of code?

newbiewebSr. Software EngineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

David Johnson, CD, MVPOwnerCommented:
create an A record www pointing to the ip of the destination web server
newbiewebSr. Software EngineerAuthor Commented:
I thought I did that and displayed it on my first image. No?
David Johnson, CD, MVPOwnerCommented:
in what you posted you don't have a www record
dns example
Defend Against the Q2 Top Security Threats

Were you aware that overall malware worldwide was down a surprising 42% from Q1'18? Every quarter, the WatchGuard Threat Lab releases an Internet Security Report that analyzes the top threat trends impacting companies worldwide. Learn more by viewing our on-demand webinar today!

newbiewebSr. Software EngineerAuthor Commented:
I posted three trials, none of which worked.

In the first one, there was an A record, which pointed to the static IP of the target domain that I want to reroute to.

Also, what is the single line for the  index.html to make my site re-route, in the event I can not get the DNS to update.

David Johnson, CD, MVPOwnerCommented:
you need the WWW A record as I showed in my post.  That or a CNAME record that points to another DNS location i.e.
newbiewebSr. Software EngineerAuthor Commented:
So, instead of using @ I use www?

Or do you means the domain must be

newbiewebSr. Software EngineerAuthor Commented:
It required an IP address, so I did it this way...

So, far, it's not resolving. Maybe if I wait a while it'll work...

www for name only
David Johnson, CD, MVPOwnerCommented:
@ references the root domain name
so use www so now it knows that it will prefix www to the domain name and redirect to the ip address you specify
David Johnson, CD, MVPOwnerCommented:
if you are using a hosted/shared web server then you normally have to use a cname vice an A record

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
newbiewebSr. Software EngineerAuthor Commented:
Wow! It works.

With two CNAME records:


pointing to
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
Web Development

From novice to tech pro — start learning today.