LinuxQuestions.org
Help answer threads with 0 replies.
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 09-28-2007, 04:41 PM   #1
jonbey
LQ Newbie
 
Registered: Sep 2007
Posts: 13

Rep: Reputation: 0
How do you know if IP address is accessible on the net?


Hello.

I am a total Linux / website admin noob (just need to make that clear early).

I have recently installed Ubuntu onto an old pc, and also Apache and PHP. I have copied a static website to /var/www/

I have opened port 80, and also port 22. I accessed my server using PuTTy from my XP machine. But, I am not sure if my web server is accessible online. When I type the IP address into my XP computer, I see the website, but I am not sure if that is just because the computers are all on the same router and that the connection is not over the internet. How do I know if the connection is working or not? I don't want to give my IP address out, for security reasons, as I probably (I am guessing) need to set up a more secure server before doing that. So other than asking somone to look, how can I determine it is online from home?

My next task is to set up name servers / DNS (?) so that I can actually host a domain. But for now, I need to be sure I have at least got my site online.

So, how can I check from my home network?

Cheers,

Jon.
 
Old 09-28-2007, 04:49 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
If you have forwarded the ports to the Ubuntu machine in your router configuration, then the machine is available from the Internet.

But the only way anyone is going to be able to see it is if you give them your IP address.
 
Old 09-28-2007, 04:51 PM   #3
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Try to go to the IP address from an external host. Yes, you need to test from the other side of the router.

Note: 127.*.*.*, 10.*.*.*, 192.168.*.*, and 172.16.*.* through 172.31.*.* are all private IP ranges, and are not routable on the public Internet. So if you're connecting to an IP in that range, it won't work, and you need to determine your public IP address, for example by hitting http://ip.dnsexit.com
 
Old 09-28-2007, 04:55 PM   #4
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
If you set up your browser to pass traffic through a public proxy server, that is a reasonable test to see if your site is accessible from locations outside your own network. One option is TOR.
 
Old 09-28-2007, 05:07 PM   #5
sehku17
LQ Newbie
 
Registered: Sep 2007
Location: St. Louis, MO
Distribution: Ubuntu & derivatives, Fedora
Posts: 19

Rep: Reputation: 0
try connecting through a third-party proxy. that would, in theory, allow you to access it from the net and be sure that the local machine is not just connecting to itself
 
Old 09-28-2007, 06:27 PM   #6
jonbey
LQ Newbie
 
Registered: Sep 2007
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for the advice. I have heard of Tor, and I even think that i have an application on a magazine cover disk somewhere. I'll take a look tomorrow.

Failing that, what is the easiest way to use Tor / proxy?
 
Old 09-28-2007, 07:22 PM   #7
jonbey
LQ Newbie
 
Registered: Sep 2007
Posts: 13

Original Poster
Rep: Reputation: 0
Ok, this may have proved that I am online. I just took a look at the logs i.e. /var/log/apache2/access.log and in it there are a couple of IP addresses that are not mine, they belong to Google. I have Adsense on the site, so I guess that this is the Google bot, and if they can get in, anyone can. So I must be online. So that's nice to know.

Just need to direct one of my domains to my home web server now. Does anyone know a useful tutorial for this? Or, is there a recommended control panel for Ubuntu? I have heard of cpanel, is that user friendly, and free?

Cheers

Jon.
 
Old 09-28-2007, 07:41 PM   #8
I_like_TUX
Member
 
Registered: Sep 2007
Distribution: Fedora 7, Edubuntu
Posts: 35

Rep: Reputation: 15
Just if you do not know:

You can try access the web server by http://--external--router--IP rather than http://192.168.x.y

If you do not know your router's external IP, you can login to your router and check.
 
Old 09-30-2007, 11:36 AM   #9
jonbey
LQ Newbie
 
Registered: Sep 2007
Posts: 13

Original Poster
Rep: Reputation: 0
Excellent. I can see it using the external IP. Being the noob that I am, I was just unsure if seeing it suing the external IP on the local network was the same as seeing it from another network. Wow, so I actually have a website up and running. Just need to sort out that DNS thing now.
 
  


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
Fedora 7 Net-Install screws up Address to FTP Server D_RangeD Fedora - Installation 1 10-11-2007 09:19 AM
Need an IP address for OpenSuSE net install Thaidog SUSE / openSUSE 2 12-04-2006 02:21 AM
how do I block mail sent to my .net address as opposed to my .com addr? BrianK Linux - General 2 12-01-2003 02:31 AM
No net-based service accessible rytrom Linux - Newbie 3 11-20-2003 12:46 PM
changed local net address nfs is hanging at boot spooge Linux - Networking 2 08-20-2003 01:37 PM

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

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