LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-06-2004, 04:54 AM   #1
wazab
LQ Newbie
 
Registered: May 2004
Posts: 5

Rep: Reputation: 0
Lightbulb Migrate my hosted website/email to my RH9 box


Hello everyone,

Obviously I am new to Linux so I hope you can help me in that. Our company's mail and webpage is hosted abroad. I installed RH9 here and want to migrate the domain to my box as well as the webpage. I know that I have to install DNS and HTTPD services on the machine which I did. But I need your help on configuration.

Any helps in steps are appreciated.

Thank you
Walid

Last edited by wazab; 05-06-2004 at 04:59 AM.
 
Old 05-09-2004, 04:19 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You said you only wanted to move the webpage (assuming only 1, and assuming it's static html) and the domain. As for the domain, you should have registered that with a registrar who may indeed be your current hosting company. Either way, you don't really need to set up DNS unless of course you are certain you do (in which case, you may want to ensure that your registrar/current hosting company no longer is assuming they are hosting your site name...). If you are certain, please tell us which DNS server you installed, and what version of that server. As for httpd, I'm going to take a stab that you have apache and point you to the docs on apache:
http://apache.org
Be sure to check the version number when looking up the docs. If you have specific questions, such as how to share a file, please feel free to post a follow up to this with more specific questions. A bit of general guidance though:
Apache's conf files are generally located at /etc/apache OR /etc/apache2 depending on which version installed.
Be sure to read the documentation thoroughly to ensure you don't misconfigure the server. However, should you be unable to start the server (which should be able to be started with a command similar to /etc/init.d/apache2 start) an error message should let you know what's wrong in your conf file(s) and you will need to fix them.

Good Luck, and it's certainly going to be a bit of trial and error at first

Oh, and last thing, migration:
If you only have a static html page, you can simply grab it with wget via the command line:
wget -c -m http://yourcurrentsite.com
And it should grab all the files associated with that index page as well as the page itself.

Good Luck

Cool
 
Old 05-09-2004, 05:40 AM   #3
wazab
LQ Newbie
 
Registered: May 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for your reply. Let me explain a bit more. Our hosting service is ending soon and we will need to migrate as I said. Now, HTTP is easy. I already have here Apache 2.0 installed on Redhat 9 and working fine and all I will need is to move the files to the new server. Thanks for the WGET command it is handy and I used it for that.

As for DNS I will simply go to my registrar as you said and remove the old entry and enter the new apache IP, right?


The mail is where I get mixed up. What do I need to do to migrate the mail.
I intend to install Qmail on RedHat 9.0 as well which will take care of the mail service. But regarding DNSing, is there anything needed. What is with that MX record thing.

Please explain that part for me.

Thanks
Walid
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
default page for domains hosted on my DNS marsguy Linux - Software 2 09-19-2005 09:24 AM
Migrate from exchange/dns to bind xiaodown Linux - Networking 0 07-15-2004 12:30 PM
XP Box won't connect to internet thru RH9 Box (firewall/dhcpd), it can only ping fire Rhapsodic Linux - Networking 4 07-10-2004 03:02 PM
External DNS BOX dboogie Red Hat 0 05-19-2004 02:24 PM
Associating my DNS with my box... MasterC Linux - Networking 2 06-01-2003 10:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration