Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
apache isn't reachable from the internet
Page 1 of 3 123 LastLast
Results 1 to 10 of 30

Thread: apache isn't reachable from the internet

  1. #1
    Associate
    Join Date
    May 2005
    Location
    Ukraine
    Posts
    43

    Question apache isn't reachable from the internet

    What do I have to do to make my web server reachable from the net?

    Thanks in advance!
    Last edited by GNEEOT; 06-10-2006 at 08:05 AM.

  2. #2
    How is your web server connected to the internet?
    My crime is that of curiosity. My crime is that of judging people by what they say and think, not what they look like. My crime is that of outsmarting you, something that you will never forgive.

  3. #3
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760
    Setup your router to forward to that machine.

    Open the firewall (if active) on that machine.

    Have Apache listening on that ethernet device.



    Thats it pretty much. I would have some free space for logging. I personally recommend saving the logs to either its own partition or a NFS mount, just so that they can never get too large and crash the server.

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


  4. #4
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935
    Check here .

    If you need specific help, post away ..

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    - The truely community run Linux/Floss forum !

    No IT BS !!

  5. #5
    Associate
    Join Date
    May 2005
    Location
    Ukraine
    Posts
    43
    ADSL router.
    Web server is on the same machine with firewall.
    Firewall is opened but web server, still, isn't reachable from the net.
    How can I check if apache is listening on right interface, port?
    And, How can I check if DNS is confugured properly?
    Last edited by GNEEOT; 06-10-2006 at 09:20 AM.

  6. #6
    Advisor Outlaw's Avatar
    Join Date
    May 2001
    Location
    Clifton Park, NY
    Posts
    630
    from your web server: nmap -sT localhost to see listening ports. Then try nmap from host outside your network. Have you tried connecting to apache by IP at port 80, 443 etc? To check DNS, do host FQDN and host IP addy to get back FQDN.

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  7. #7
    Can you acces the webserver from within your LAN?
    If you can, you just need to set up your router to forward any requests coming from the internet, to the machine's ip address and port where the webserver is running.
    My crime is that of curiosity. My crime is that of judging people by what they say and think, not what they look like. My crime is that of outsmarting you, something that you will never forgive.

  8. #8
    Associate
    Join Date
    May 2005
    Location
    Ukraine
    Posts
    43
    Yes I can access the webserver from within my LAN but only by IP. Web server is on the same machine with firewall. But I still cann't access it from the net.
    Last edited by GNEEOT; 06-11-2006 at 10:06 AM.

  9. #9
    Let us know what happens once you forward the port on the router.
    Last edited by trickster; 06-10-2006 at 10:08 PM.
    My crime is that of curiosity. My crime is that of judging people by what they say and think, not what they look like. My crime is that of outsmarting you, something that you will never forgive.

  10. #10
    Associate
    Join Date
    May 2005
    Location
    Ukraine
    Posts
    43
    Quote Originally Posted by Outlaw
    from your web server: nmap -sT localhost to see listening ports. Then try nmap from host outside your network. Have you tried connecting to apache by IP at port 80, 443 etc? To check DNS, do host FQDN and host IP addy to get back FQDN.

    [root@server server.tenpostadsl.lviv.farlep.net]# nmap -sT localhost

    Starting nmap 3.70 ( http://www.insecure.org/nmap/ ) at 2006-06-11 13:24 EEST
    Interesting ports on localhost (127.0.0.1):
    (The 1647 ports scanned but not shown below are in state: closed)
    PORT STATE SERVICE
    22/tcp open ssh
    25/tcp open smtp
    53/tcp open domain
    80/tcp open http
    110/tcp open pop3
    111/tcp open rpcbind
    139/tcp open netbios-ssn
    143/tcp open imap
    445/tcp open microsoft-ds
    953/tcp open rndc
    993/tcp open imaps
    995/tcp open pop3s
    3128/tcp open squid-http

    Nmap run completed -- 1 IP address (1 host up) scanned in 0.301 seconds
    [root@server server.tenpostadsl.lviv.farlep.net]# host server.tenpostadsl.lviv.farlep.net
    server.tenpostadsl.lviv.farlep.net has address 62.221.52.196
    [root@server server.tenpostadsl.lviv.farlep.net]# host 62.221.52.196
    196.52.221.62.in-addr.arpa domain name pointer server.tenpostadsl.lviv.farlep.net.


    Can you please try nmap from outside for me?

    Yes, I've tried connecting to apache by IP(62.221.52.196) and by FQDN(server.tenpostadsl.lviv.farlep.net) at port 80 and It's working, but only from my local network. I haven't tried from outside yet. Can you try from outside?

Similar Threads

  1. Acessing Internet: xbuntu-->Vista-->WAN-->Internet
    By dog0 in forum Ubuntu / Debian
    Replies: 2
    Last Post: 12-06-2008, 04:55 AM
  2. Apache
    By honey bee in forum Redhat / Fedora
    Replies: 5
    Last Post: 06-01-2008, 07:54 AM
  3. Apache and Cox Hi-Speed Internet
    By Rastar in forum Linux - Hardware, Networking & Security
    Replies: 6
    Last Post: 02-04-2003, 08:05 AM
  4. CGI + Apache 2x
    By Stuart in forum Linux - Hardware, Networking & Security
    Replies: 5
    Last Post: 11-13-2002, 01:48 AM
  5. Help with apache
    By Digital_Froggy in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 01-08-2002, 04:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •