LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 05-29-2007, 03:47 PM   #1
Virtuality
Member
 
Registered: Jan 2007
Distribution: Debian Etch
Posts: 193

Rep: Reputation: 30
PHP5.2.2 with Apache 2.2.4 - Can't ./configure - Also, how do I do port fowarding?


Hi, I have apache installed and running. Two problems.


(think i got the first problem fixed)


Second problem should be simple but I've spent hours and nowhere on the internet that I've been able to find (I'm sure I found something before I needed it, can't dig it up) will explain how to do this. I know I go to my router, and where the Port Fowarding is there. I just need to be shown what to put and where to put it. I am using a dynalink RTA770.

Screenshot of router page: http://img380.imageshack.us/my.php?i...wardingxv4.jpg

Last edited by Virtuality; 05-29-2007 at 03:50 PM.
 
Old 05-29-2007, 04:10 PM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Rep: Reputation: 52
you need to forward port 80 to that ip you have there. That's it.

-twantrd
 
Old 05-29-2007, 04:17 PM   #3
Virtuality
Member
 
Registered: Jan 2007
Distribution: Debian Etch
Posts: 193

Original Poster
Rep: Reputation: 30
Already doing that, can only view my site while on the network or on this computer via 127.0.0.1

Site is www.bloodreign.vodka.at (temp address since it puts adds on it)

I have no idea how sites make all those .com domains, only way I can see of getting one is paying for it.
 
Old 05-29-2007, 06:40 PM   #4
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Rep: Reputation: 52
So, your external ip from your house is 64.235.234.138? If so, then you're not port forwarding it right.

-twantrd
 
Old 05-29-2007, 06:57 PM   #5
Virtuality
Member
 
Registered: Jan 2007
Distribution: Debian Etch
Posts: 193

Original Poster
Rep: Reputation: 30
No, it's not. It's 60.234.211.220

And... not port fowarding it right, what can I do, mistype 80?

It's not running at the moment, I have the service stopped since I just formatted and started over.

Any reason this wouldn't work? : http://img403.imageshack.us/my.php?image=portsko2.png

Thanks for the help so far.

Last edited by Virtuality; 05-29-2007 at 07:13 PM.
 
Old 05-29-2007, 10:55 PM   #6
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Rep: Reputation: 52
You didn't have to reformat your comp. You were in the right direction. Anyhow, that domain won't work since it's NOT pointing to your external ip. You should've tried http://60.234.211.220 and see if the page came up.

For your router, I don't use that model but it appears to be correct.

-twantrd
 
Old 05-29-2007, 11:20 PM   #7
Virtuality
Member
 
Registered: Jan 2007
Distribution: Debian Etch
Posts: 193

Original Poster
Rep: Reputation: 30
I had to format my computer for other reasons, I was explaining why it wouldn't work for now.

I'm confused, is 60.234.211.220 NOT my external IP? Because thats where that link points to...

I'll try again if I can ever install PHP5, my computer is almost crashing from trying to compile gcc 4.2.0 TWICE because the first time after compiling for 1.5 hours it gives me an error saying bison isn't installed... almost considering using windows as a server instead of linux.

I can't install PHP5 without gcc 4.2.0, at least I think that's why, I can't be stuffed posting the error.

Last edited by Virtuality; 05-29-2007 at 11:32 PM.
 
Old 05-30-2007, 01:04 PM   #8
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Rep: Reputation: 52
Ok, the reason why I said it was the 64.x.x.x address was because I did a lookup on that domain:

Non-authoritative answer:
Name: kickme.to
Address: 64.235.234.138
Aliases: www.bloodreign.vodka.at

However, I looked at my socket connections and it was going to the IP that you stated. I guess your hosting has some forwarding rule which is fine then.

Quote:
I'll try again if I can ever install PHP5, my computer is almost crashing from trying to compile gcc 4.2.0 TWICE because the first time after compiling for 1.5 hours it gives me an error saying bison isn't installed... almost considering using windows as a server instead of linux.
Next time you re-install your OS, install the development tools so that you can all the compilers set up. However, the compilers are on your CD/DVD. Just install them via "rpm -Uvh <rpm_package>".

-twantrd
 
  


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
port fowarding georgel12 Linux - Networking 2 05-16-2006 06:38 PM
Port Fowarding zaicheke *BSD 9 10-25-2004 06:05 PM
Fowarding port 80 ? Drogo Linux - Networking 13 05-28-2003 03:16 AM
Port Fowarding. Arisen Sun Linux - Security 1 05-23-2003 06:48 PM
SSH port fowarding magyartoth Linux - Networking 10 05-01-2002 02:27 PM


All times are GMT -5. The time now is 12:24 AM.

Main Menu
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