LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 02-01-2008, 03:25 PM   #1
chocolate85
LQ Newbie
 
Registered: Feb 2008
Posts: 2

Rep: Reputation: 0
Changing a Websites Domain Name


Hello Everyone

I have a question regarding changing the websites domain name . I have a website with domain name abc.edu and I want to change it to xyz.edu.The website is my departments website and since the name of the department changed I have to change the domain name too.Do i have to use 301 redirect or is there any other way.The website Resides on a Redhat Server.

Thanks and Regards .
 
Old 02-01-2008, 04:24 PM   #2
ironmike
LQ Newbie
 
Registered: Feb 2004
Location: Virginia, USA
Distribution: RedHat 4.5
Posts: 6

Rep: Reputation: 0
Who provides DNS for your domain? The DNS entries for your domain need to be changed. DNS is the Domain Name Service.

If your domain name now is 'abc.edu', then type this in a terminal window and see what you get back:

dig abc.edu

the output tells you the names of the nameserver(s) for your domain. Who is responsible for them? You or your ISP?
 
Old 02-01-2008, 04:37 PM   #3
frndrfoe
Member
 
Registered: Jan 2008
Distribution: RHEL, CentOS
Posts: 375

Rep: Reputation: 38
point both names to the same machine using cnames in dns and use name virtual hosts in apache.

Change the ServerName directive from abc.edu to xyz.edu and add a redirect like this:
<VirtualHost *:80>
ServerName abc.edu
Redirect / "http://xyz.edu/"
</VirtualHost>

When someone goes to abc.edu it will change their address to xyz.edu and after a while you can drop the old name.
 
  


Reply

Tags
dns, nameservers


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
serving multiple domain websites on one server? gsgleason Linux - Software 1 06-03-2005 11:50 AM
changing domain name corbis_demon Fedora 2 09-27-2004 03:18 AM
Changing domain name corbis_demon Linux - Newbie 2 09-16-2004 08:48 AM
Changing domain name Mikessu Linux - Networking 2 12-29-2003 10:16 AM
Computer name/Domain name changing tweselak Linux - Newbie 4 07-31-2003 04:29 PM


All times are GMT -5. The time now is 10: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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration