Apache2 page is diffrent when accessed out side of the network

Discussion in 'Apache' started by Mr Akkari, Jan 11, 2019.

  1. #1
    Hi im new here i hope you can help me with this issue
    so i have a no-ip domain lets say its "test.ddns.net" and i have the no-ip client on my linux (kali)
    i started apache2 service, when i go to "localhost or the test.ddns.net " i get my website which is in /var/www/html/index.html
    but when im trying to access it from a device out side the network im getting 403 Forbidden nginx
     
    Mr Akkari, Jan 11, 2019 IP
  2. qwikad.com

    qwikad.com Illustrious Member Affiliate Manager

    Messages:
    7,284
    Likes Received:
    1,697
    Best Answers:
    31
    Trophy Points:
    475
    #2
    qwikad.com, Jan 11, 2019 IP
  3. Mr Akkari

    Mr Akkari Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #3
    no i already have port forwarding and i can access my host but im getting 403 Forbidden web page
     
    Mr Akkari, Jan 11, 2019 IP
  4. Mr Akkari

    Mr Akkari Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #4
    +Update:
    i tried configuring some files, now when i try to get to my website from out side the network i get default apache2 page instead
     
    Mr Akkari, Jan 12, 2019 IP
  5. RoseHosting

    RoseHosting Well-Known Member

    Messages:
    230
    Likes Received:
    11
    Best Answers:
    11
    Trophy Points:
    138
    #5
    Do you have Apache virtual host for your domain pointed to the appropriate document root directory?
     
    RoseHosting, Jan 14, 2019 IP
  6. hostechsupport

    hostechsupport Well-Known Member

    Messages:
    413
    Likes Received:
    23
    Best Answers:
    7
    Trophy Points:
    138
    #6
    It could be due to the wrong index file. Try auto indexing by
    autoindex on;
    autoindex_exact_size off;
    These configurations must be added to a location block.
     
    hostechsupport, Jan 18, 2019 IP