Results 1 to 6 of 6
  1. #1
    Experienced User
    Overall activity: 0%

    Join Date
    Mar 2008
    Location
    New Delhi,india
    Posts
    164
    Liked
    2 times
    Points
    6,616

    Set up apache server on linux..

    hi all,
    Just trying to set up a web server On my PC, i'm on Linux Mint, installed apache, php module, and prefork MPM,
    I am able to see my site on localhost but i want to make it visible to the internet, Using just my IP address(its static) and NOT any domain name...

    What shall i do?? where to configure it?? I googled for it but either too advanced that it hops over my head, or just basic localhost setting.,,

    Any help would be great...

  2. #2
    The Specialist *
    Overall activity: 76.0%

    Join Date
    May 2010
    Location
    KOLKATA
    Posts
    5,162
    Liked
    731 times
    Points
    47,580
    Read this might be useful .
    I don't need to know everything, I just need to know where to find it, when I need it.

  3. #3
    Experienced User
    Overall activity: 0%

    Join Date
    Mar 2008
    Location
    New Delhi,india
    Posts
    164
    Liked
    2 times
    Points
    6,616
    okay, I read that and currently my httpd.conf looks like :
    Code:
     
    ServerName localhost
    Include conf.d/*.conf
    NameVirtualHost WANIPHERE
    <VirtualHost WANIPHERE>
       DocumentRoot /home/tarun/www/
    </VirtualHost>
    <VirtualHost *>
       DocumentRoot /home/tarun/www/
    </VirtualHost>
    <Directory "/home/tarun/www/">
        Order allow,deny
       Allow from all
     
        AllowOverride FileInfo AuthConfig Limit
       Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
       <Limit GET POST OPTIONS>
         Order allow,deny
         Allow from all
        </Limit>
        <LimitExcept GET POST OPTIONS>
         Order deny,allow
         Deny from all
       </LimitExcept>
     Options MultiViews -Indexes SymLinksIfOwnerMatch IncludesNoExec
     
    </Directory>
    During server startup i get a error,
    Code:
    [error] (EAI 2)Name or service not known: Failed to resolve server name for 202.3.77.239 (check DNS) -- or specify an explicit ServerName
    But i already have ServerName localhost defined in my httpd.conf, and anyways i am not able to access via my WAN ip..
    What am i doing wrong??

    (PS: My PC is on College Intranet also, is it possible that my cllg be blocking outside traffic ??if yes ,how am i supposed to confirm it>?)

  4. #4
    The Specialist *
    Overall activity: 76.0%

    Join Date
    May 2010
    Location
    KOLKATA
    Posts
    5,162
    Liked
    731 times
    Points
    47,580
    Did you add the server names in /etc/hosts. Give different Servername . Hmm did you properly configure your dns ?? Try to configure regular authoritative DNS server.

  5. #5
    Experienced User
    Overall activity: 0%

    Join Date
    Mar 2008
    Location
    New Delhi,india
    Posts
    164
    Liked
    2 times
    Points
    6,616
    I will be using only my IP address to access the sever, do i still need to configure the DNS(coz that is controlled by my cllg)??

    ---------- Post added at 08:54 PM ---------- Previous post was at 10:52 AM ----------

    OKay, i got to know that my ISp blocks outside traffic,

  6. #6
    The Specialist *
    Overall activity: 76.0%

    Join Date
    May 2010
    Location
    KOLKATA
    Posts
    5,162
    Liked
    731 times
    Points
    47,580
    Ops it's bad news. Any way don't be sad. Regards.

 

 

Similar Threads

  1. Apache 2.2.20 released to fix DoS vulnerability !!!
    By INDRANIL in forum Spyware/Viruses
    Replies: 0
    Last Post: 09-01-2011, 06:17 PM
  2. Reverse Proxy in Apache ? :S
    By y0_gesh in forum Network
    Replies: 1
    Last Post: 06-21-2011, 05:58 PM
  3. Replies: 0
    Last Post: 06-12-2011, 05:46 AM
  4. Replies: 1
    Last Post: 06-08-2011, 09:09 PM
  5. Linux Server Management
    By techguyboy in forum Linux
    Replies: 3
    Last Post: 06-23-2008, 02:28 PM
All times are GMT +8. The time now is 08:04 AM.