Login
Search   Moderators Wanted: If you're interested please send your portfolio to info[at]itechforums.com
Welcome to the iTechForums.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
To register now click here.
Latest Threads
Advertisements
Forum Statistics
Threads:
Posts: 2
Members:
Number of Users Online:
Welcome to our newest member,
Reply
 
Thread Tools Display Modes
  #1  
Old 10-14-2009, 10:35 PM
Ted Ted is offline
Junior Member
 
Join Date: May 2008
Posts: 3
Default

I'm looking to redirect my domains DNS to a new host, can anyone help?


I'm looking to redirect my domains DNS to a new host, can anyone help?

I have a domain name and an email account with 123-reg.co.uk but I want to redirect the domain to another host. I would just change the nameservers but then the email doesn't work. I've tried fiddling with the CNAME and A records etc but I've no idea what I'm doing, can anyone please help?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #2  
Old 10-14-2009, 10:35 PM
Slim W Slim W is offline
Junior Member
 
Join Date: Oct 2009
Posts: 1
Default

if you have a DNS change you need to submit the changes from the new server to take ownership of the record (SOA) 1st.

Put a redirect in your index.php or index.html

?php
if (!empty($_SERVER['HTTPS']) ('on' == $_SERVER['HTTPS'])) {
$uri = 'https://';
} else {
$uri = 'http://';
}
$uri .= $_SERVER['HTTP_HOST'];
header('Location: '.$uri.'http://newsite.TLD');
exit;
?


or
HTML/JavaScript

HTML
HEADTITLEWeb Site Redirect /TITLE
BODY bgcolor=#ffffff

SCRIPT LANGUAGE=JavaScript
!--
function redirect()
{
window.location = https://newsite.tld
}

setTimeout(redirect();, 1000)
//--

/SCRIPT
H2The website for MY Site is Redirecting to a Secure URL /h2
h3
New URL : a href=https://securemysite.TLD
https://securemysite.TLD/A
/h3
PYou will be tranferred there automatically. Please bookmark the URL of our new webaddress and delete the bookmark of
our old web address.

/BODY
/HTML
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I host domains from a DNS? phasm@ymail.com DNS 0 03-19-2009 12:58 AM
Have 2 domains, one paid host linked to domain A. How to link subdomain... Michelle Ski DNS 0 02-26-2009 05:36 AM
Ways to redirect DNS query ? ( I know HOST file is one )? James DNS 0 01-05-2009 10:49 PM
I need a web host for about 8 websites. I need an inexpensive host who... seabro MySQL 0 07-26-2008 01:19 PM
What freeweb host with php/mysql hosting to host PHP motion? ian k MySQL 0 05-17-2008 10:28 PM

Your Ad Here

All times are GMT. The time now is 03:30 AM.