LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-28-2007, 05:46 PM   #1
freefall235
LQ Newbie
 
Registered: Nov 2004
Location: Classified
Distribution: redhat 9
Posts: 29

Rep: Reputation: 15
help with apache. change of local domain name...


Hello everyone,

I have just changed my local domain name, and added 'local.net' to end of it, as it was not a FQDN.

i did this because a set up a local forwarding dns server, as i couldnt ping or reach my server by name, unless i added the entry to the hosts file.

So i changed my local network card settings, changed my dhcp server and my dns server, all to reflect osirus.local.net and, when I ping my server now, without the hosts file entry, i get server1.osirus.local.net, as i should.

however, i used to be able to just go to server1 and it would display my webpage, how ever, when i now go to it, I get a Server error 500, internal server error. Yet if point my browser to the ip address, page display's fine, so im thinking DNS...

yet, i can reach server1:10000 for webmin fine.

This is all for an internal network only, so i dont have to worry about external dns zones and things like that, but could anyone possibly point me in a direction to cause of this apache problem?

Cheers,

Justin
 
Old 06-28-2007, 06:24 PM   #2
mbradshaw93
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Rep: Reputation: 0
Regarding the server error, what does your Apache logfile indicate?
 
Old 06-28-2007, 06:43 PM   #3
freefall235
LQ Newbie
 
Registered: Nov 2004
Location: Classified
Distribution: redhat 9
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mbradshaw93
Regarding the server error, what does your Apache logfile indicate?
i am unable to view the logs just yet, not at home, but i will check them tonight, and let you know.

Cheers,
Justin
 
Old 06-29-2007, 03:54 AM   #4
freefall235
LQ Newbie
 
Registered: Nov 2004
Location: Classified
Distribution: redhat 9
Posts: 29

Original Poster
Rep: Reputation: 15
the log files didnt show anything, other than access logs.. (only present when going to ip address, not the name of the server...)

is there anything else that could be causing this issue?

Cheers,
Justin
 
Old 06-29-2007, 09:43 AM   #5
mbradshaw93
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Rep: Reputation: 0
Hello,
It sounds like you may not be hitting the server at this point. Just to clarify, when you're now entering the name of the server in your browser, are you entering server1.osirus.local.net?
 
Old 06-29-2007, 10:27 AM   #6
freefall235
LQ Newbie
 
Registered: Nov 2004
Location: Classified
Distribution: redhat 9
Posts: 29

Original Poster
Rep: Reputation: 15
no, only server1

server1.osirus.local.net takes me to www.local.net, and when i ping server1, it comes back with server1.osirus.local.net, but with www.local.net's ip address. I believe my dns is screwed, so please see dns thread here...

http://www.linuxquestions.org/questi...d.php?t=565318

Thanks Again,
Justin
 
Old 06-29-2007, 03:04 PM   #7
mbradshaw93
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Rep: Reputation: 0
Hello,
Sorry for the delay. Just checked out the DNS thread you linked to and it looks like you got that issue resolved. Did it resolve this one as well?

Michael
 
  


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
Setup BIND for Local Domain and hosting domain ALInux Linux - Networking 4 12-19-2006 02:26 AM
passwd: can't get local yp domain: Local domain name not set powah Linux - Security 4 06-08-2006 09:59 AM
Apache is redirecting web traffic to local domain drkstr Slackware 6 06-05-2006 09:16 AM
Postfix and local domain. LuneeTunes Linux - Networking 1 03-18-2006 12:55 PM
Setting up local DNS domain name Corxscrew Linux - Newbie 1 01-20-2005 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:21 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