301 redirects on a non-existent site (the site was deleted)

We had an old mobile site hosted by a 3rd party that has since been deleted. We've been advised to put in 301 redirects for specific pages from the old mobile site to the new mobile site. How do you do this on a site that has been deleted already? I know this can be done in IIS, web.config and at the page level but if it no longer exists, I'm not sure how to do it or is it even possible? Also, we have control over the old domain.
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.

T.J. CoueySenior EngineerCommented:
If the site is no longer configured you can't configure a redirect. If you own the domain you could however configure a CNAME record in DNS to point the old sites A record to the new sites A record but you will need to configure your new web server to accept the host header of the old site. If you do this...

When you go to myoldserver.mydomain.com the browser will query DNS and you will be handed a CNAME record to go to mynewserver.mydomain.com, but your new server will see the request as myoldeserver.mydomain.com. You can then configure your redirects as needed.

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
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
Microsoft Legacy OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.