Link to home
Start Free TrialLog in
Avatar of curiouswebster
curiouswebsterFlag for United States of America

asked on

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 RackSpace.com

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:

User generated image
User generated image
User generated image
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?

Thanks
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

create an A record www pointing to the ip of the destination web server
Avatar of curiouswebster

ASKER

I thought I did that and displayed it on my first image. No?
in what you posted you don't have a www record
User generated image
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.

Thanks.
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.
CNAME www example.com
So, instead of using @ I use www?

Or do you means the domain must be www.targetdomain.com

?
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...

User generated image
SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Wow! It works.

With two CNAME records:

@
www

pointing to www.mydomain.com