LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 01-29-2013, 12:45 PM   #1
edroms
LQ Newbie
 
Registered: Jun 2012
Distribution: Red Hat
Posts: 2

Rep: Reputation: Disabled
domain change steps/files to change -- Red Hat


Our servers are currently running on Red Hat 5.8. What files need to be touched in order to implement a domain name change, i.e. 'domain.state.us' to 'newdomain.gov' -- omitting the dns server changes? If this can be done without redirects besides 301's, I'd prefer that. We are using Apache as a web server with several virtual hosts on each server. Each virtual host name will need to reflect the new domain, such as 'box1.domain.state.us' to 'box1.newdomain.gov'.

Thanks.
 
Old 01-29-2013, 03:15 PM   #2
d072330
Member
 
Registered: Nov 2007
Location: USA
Distribution: CentOS 5/6
Posts: 186

Rep: Reputation: 6
First I would type the following on the command line:

Quote:
domainname
Then I would look in:

Quote:
/etc/sysconfig/network
or

Quote:
/etc/sysconfig/network-scripts/ifcfg-eth* or bond*
If you are using NIS then I would check this file:

Quote:
/etc/yp.conf
You might check this file as well to make sure it has the correct name as well.

Quote:
/etc/hosts
 
1 members found this post helpful.
  


Reply



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
change IP and hostname in red hat ES 5 chuikingman Linux - Server 1 07-20-2011 12:38 PM
how to change language in Red Hat RMLinux Debian 1 06-17-2008 03:14 AM
Change to red hat sajjadc Linux - Software 2 06-19-2005 08:27 AM
Why cant I change my resolution in Red Hat 9? neozero62 Linux - Newbie 3 10-25-2003 11:39 AM
change resolution in red hat 7? TheWoodchuck Linux - General 2 01-02-2002 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 09:33 AM.

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