LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-19-2007, 10:21 AM   #1
Bhal
LQ Newbie
 
Registered: Dec 2007
Posts: 8

Rep: Reputation: 0
moved server now doesn't work


I am very new to linux. I like it so far. I have a server with Ubuntu 6.10. The server was hooked up at our old office, where it worked fine. We moved to a new office, with new isp, and now it does not work. I know there are settings that need to be changed, but I'm not sure which ones. My isp helpdesk does not support linux, so I am trying to figure this out on my own. I need help! Like I said, I am very new to Linux. If anybody is willing to help, I would greatly appreciate it. One other road block is that I was not the one who set this up, but I do have root access. More info available upon request.(Not sure what info is needed)
Thanks

Brian
 
Old 12-19-2007, 10:27 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Hi and welcome to LQ.

You could start by giving more details about what exactly does not work. Is it the connection to the internet or something else?
 
Old 12-19-2007, 11:30 AM   #3
Bhal
LQ Newbie
 
Registered: Dec 2007
Posts: 8

Original Poster
Rep: Reputation: 0
driving blind

Quote:
Originally Posted by reddazz View Post
Hi and welcome to LQ.

You could start by giving more details about what exactly does not work. Is it the connection to the internet or something else?
I think it has something to do with it being setup with a static ip?!
I do not access the internet with it directly(mostly because I do not know how). It was setup with the purpose of storing info for the business that was accessed through a link on our windows machines using this link http://wiki.howwhenwhere.com/index.php/Main_Page. Again, I did not set this up.(The person who did is not available, he is deceased)If you can tell me where to look or what other info might be useful, I will do so.

Thanks again
Brian
 
Old 12-19-2007, 12:36 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
If its related to your network, then maybe this article may help you change your network settings. You can also run the GUI network configuration tool and then replace the old settings with the new ones.
 
Old 12-19-2007, 01:42 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
is that an actual registered domain name ?

Code:
it-etch:~$ dig howwhenwhere.com

; <<>> DiG 9.3.4 <<>> howwhenwhere.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52192
;; flags: qr aa; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;howwhenwhere.com.              IN      A

;; ANSWER SECTION:
howwhenwhere.com.       7200    IN      A       205.178.145.65

;; AUTHORITY SECTION:
howwhenwhere.com.       7200    IN      NS      NS19.WORLDNIC.com.
howwhenwhere.com.       7200    IN      NS      NS20.WORLDNIC.com.
So if that is the real DNS name, registered to that machine, and you've switched ISP's I have to imagine the Public IP address for that machine has changed and the DNS entry would need to be updated (at network solutions from the look of things). But as mentioned before you've provided almost no information on the environment, so this is all just speculation.

Is that public address assigned directly to the server ? or is the Server behind a firewall that is performing NAT on the public IP pointing to a private IP on that server ?

speaking of which, what IP currently assigned to that server ?

please post the output of the following commands
/sbin/ifconfig -a

/sbin/route -n

cat /etc/resolv.conf


What kind of shlock ISP do you have that can't provide basic IP addressing information.. the OS shouldn't matter, they should still be able to tell you what address something has, or at least what public IP addresses you have available.

Looks like someone has totally botched your relocation planning.

Last edited by farslayer; 12-19-2007 at 01:43 PM.
 
Old 12-19-2007, 02:53 PM   #6
Bhal
LQ Newbie
 
Registered: Dec 2007
Posts: 8

Original Poster
Rep: Reputation: 0
output of following commands

Quote:
Originally Posted by farslayer View Post
is that an actual registered domain name ?

Code:
it-etch:~$ dig howwhenwhere.com

; <<>> DiG 9.3.4 <<>> howwhenwhere.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52192
;; flags: qr aa; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;howwhenwhere.com.              IN      A

;; ANSWER SECTION:
howwhenwhere.com.       7200    IN      A       205.178.145.65

;; AUTHORITY SECTION:
howwhenwhere.com.       7200    IN      NS      NS19.WORLDNIC.com.
howwhenwhere.com.       7200    IN      NS      NS20.WORLDNIC.com.
So if that is the real DNS name, registered to that machine, and you've switched ISP's I have to imagine the Public IP address for that machine has changed and the DNS entry would need to be updated (at network solutions from the look of things). But as mentioned before you've provided almost no information on the environment, so this is all just speculation.

Is that public address assigned directly to the server ? or is the Server behind a firewall that is performing NAT on the public IP pointing to a private IP on that server ?

speaking of which, what IP currently assigned to that server ?

please post the output of the following commands
/sbin/ifconfig -a

/sbin/route -n

cat /etc/resolv.conf


What kind of shlock ISP do you have that can't provide basic IP addressing information.. the OS shouldn't matter, they should still be able to tell you what address something has, or at least what public IP addresses you have available.

Looks like someone has totally botched your relocation planning.
Here is the output of the following commands
/sbin/ifconfig -a

/sbin/route -n

cat /etc/resolv.conf

Eth0

Link encap:Ethernet HWaddr 00:13:72:0B:5C:F2
Inet addr: 192.168.1.200 Bcast:192.168.1.255 Mask:255.255.255.0
Inet6 addr: fe80: :213:72ff:fe0b:5cf2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:118241 errors:0 dropped:0 overruns:0 frame:0
TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0 txqueuelen:1000
RX bytes:7942642 (7.5 MiB) TX bytes:3436 (3.3 KiB)
Interrupt:177

Lo

Link encap:Local Loopback
Inet addr:127.0.0.1 Mask:255.0.0.0
Inet6 addr: : : 1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0 txqueuelen:0
RX bytes:1408 (1.3 KiB) TX bytes:1408 (1.3 KiB)



Sit0


Link encap:IPv6-in-Ipv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0 txqueuelen:0
RX bytes:0 (0.0b) TX bytes:1408 (0.0b)

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

nameserver 204.130.255.3
nameserver 64.133.32.71

This is where I get lost.
The isp I'm sure could give me ip info. If only I knew what to do with it!
 
Old 12-19-2007, 03:11 PM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
well your box has a private IP address, but the FQDN (http://wiki.howwhenwhere.com/index.php/Main_Page)you provided has a public address.

that leads me to believe one or several of the following:

* you have an internal DNS issue.
* Your Server is supposed to be in the DMZ of your firewall and statically NAT'd to a public IP address.
* the A record for wiki.howwhenwhere.com Needs to be corrected in your Network Solutions DNS management panel.

Code:
wiki.howwhenwhere.com.  1401    IN      A       68.178.38.143
is 68.178.38.143 one of your public IP addresses from your old ISP ?

What public IP addresses do you have available from your new ISP to map to this server ?

Do you have the login information to your DNS management portal at Network Solutions ? Their tech support is pretty good and they can walk you through making the necessary DNS changes.

Who manages your Firewall at your office ? They need to make sure the NEW public IP address is Statically NAT'd to the private IP address showing on that server..

I don't think ANY of the changes need to be made on that server (well maybe point the resolv.conf on the Linux box to the DNS servers of your new ISP ), your problem looks to be caused by outside influences such as: DNS, Firewall NAT Settings, New Public IP addresses

Last edited by farslayer; 12-19-2007 at 03:12 PM.
 
Old 12-19-2007, 04:14 PM   #8
Bhal
LQ Newbie
 
Registered: Dec 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by farslayer View Post
well your box has a private IP address, but the FQDN (http://wiki.howwhenwhere.com/index.php/Main_Page)you provided has a public address.

that leads me to believe one or several of the following:

* you have an internal DNS issue.
* Your Server is supposed to be in the DMZ of your firewall and statically NAT'd to a public IP address.
* the A record for wiki.howwhenwhere.com Needs to be corrected in your Network Solutions DNS management panel.

Code:
wiki.howwhenwhere.com.  1401    IN      A       68.178.38.143
is 68.178.38.143 one of your public IP addresses from your old ISP ?

What public IP addresses do you have available from your new ISP to map to this server ?

Do you have the login information to your DNS management portal at Network Solutions ? Their tech support is pretty good and they can walk you through making the necessary DNS changes.

Who manages your Firewall at your office ? They need to make sure the NEW public IP address is Statically NAT'd to the private IP address showing on that server..

I don't think ANY of the changes need to be made on that server (well maybe point the resolv.conf on the Linux box to the DNS servers of your new ISP ), your problem looks to be caused by outside influences such as: DNS, Firewall NAT Settings, New Public IP addresses
First I just want to say Thank you to you, farslayer.
I know little about what I am doing on this, but you have helped me out alot so far. I am learning(long way to go!). Our company is very small, just the two of us. So it is up to me to figure these things out. Anyway, as to the questions you asked.

*I am not sure if 68.178.38.143 is from the old isp or not, my guess would be yes as I have not changed anything.
*Do I need to contact my isp for available public ip's?
*yes I do have login info for network solutions.
*As far as the firewall, I guess that would be me!?
I am sorry if I didn't give you all the info you were looking for.

I will contact network solutions, to see if they can do anything.

If there is any more info I can give you that would help, just let me know.

Again,
Thank you very much!!

Brian
 
Old 12-19-2007, 07:24 PM   #9
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
I would say start with your ISP. Tell them you are hosting a webserver and need to know what teh STATIC Public IP address they gave you is..

after you have that info contact Network solutions and update that record to the IP your new ISP gave you..

Then just make sure your Firewall is forwarding port 80 to the Local IP address on that server..
 
Old 12-21-2007, 12:02 PM   #10
Bhal
LQ Newbie
 
Registered: Dec 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by farslayer View Post
I would say start with your ISP. Tell them you are hosting a webserver and need to know what teh STATIC Public IP address they gave you is..

after you have that info contact Network solutions and update that record to the IP your new ISP gave you..

Then just make sure your Firewall is forwarding port 80 to the Local IP address on that server..
I have aquired a static ip from our isp.

I have made the changes at Network solutions.

I am not sure exactly how to make sure the firewall is forwarding port 80 to the local IP address on the server, if you would be able to help me out with that, that would be awesome.

I did find out that the only thing we use this local server for, is for FTP, and the Wiki. The www and others is all hosted through network solutions.

Thanks again

Brian
 
Old 12-21-2007, 02:17 PM   #11
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
How you forward ports depends on what type of router you are using. Usually you connect to the router using some sort of web interface and enter the IP address of the machine you would like the port to be forwarded to, as well as the port number or range. Since you are also using this machine for ftp, you also need to forward port 21 in addition to port 80.
 
Old 12-21-2007, 04:47 PM   #12
Bhal
LQ Newbie
 
Registered: Dec 2007
Posts: 8

Original Poster
Rep: Reputation: 0
port forwarding

Quote:
Originally Posted by reddazz View Post
How you forward ports depends on what type of router you are using. Usually you connect to the router using some sort of web interface and enter the IP address of the machine you would like the port to be forwarded to, as well as the port number or range. Since you are also using this machine for ftp, you also need to forward port 21 in addition to port 80.
I have figured out where to do the port forwarding, but my server is not on the list.

Any thoughts?

This forum is the best I have been on by the way!!

Thanks again
Brian
 
Old 12-21-2007, 05:14 PM   #13
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Is there some sort of area where you can enter an ip address and the ports? If so, then you need to enter the ip address of the server and the ports you want to forward to it.
 
Old 12-21-2007, 08:06 PM   #14
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
what brand and model is the router or firewall ?
 
Old 12-23-2007, 09:46 AM   #15
Bhal
LQ Newbie
 
Registered: Dec 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by farslayer View Post
what brand and model is the router or firewall ?
Sorry I took so long.(That time of the year!)

The modem/router model is 2wire 2701hg-d.
I go to the MDC setup page for it, and all I can find is a "list" of computers on the network, but no place to enter an IP.

Do I need to change the settings on the server?
If so, how do I do that?


Once again,
I really appreciate your help on this!
Brian

Last edited by Bhal; 12-24-2007 at 09:51 AM.
 
  


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
Moved server to new ISP, now sendmail won't send BigFunkyChief Linux - Server 6 12-01-2007 09:23 AM
Server moved and shares not working Sapient Linux - Networking 2 09-13-2007 08:04 AM
Moved files => Apache: "You don't have permission to access / on this server." teek Linux - Server 1 12-31-2006 04:03 AM
How the DNS-server is connected to work of a web-server and a mail-server? ukrainet Linux - Newbie 2 01-10-2005 09:18 PM
Ad Server Moved jeremy LQ Suggestions & Feedback 0 02-27-2004 01:57 PM

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

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