Join the community today
Register Now

Install Accessing vhost from lan (later from external)

Discussion in 'Install & Upgrades or Pre-Install Questions' started by dandumit, Jan 31, 2021.

  1. dandumit

    dandumit New Member

    19
    1
    3
    Jan 9, 2021
    Ratings:
    +1
    Local Time:
    1:29 AM
    Hello All
    I am trying to install Centminmod. Impressive work and extensive documented.

    However it's a bit difficult to me to make first steps.
    I have installed everything, followed documentation for CloudFlare dns setting, made a vhost but I am still unable to access it . (domain name is arax.ro)

    I am thinking to test it initially from lan.

    when I am accesing the internal ip address of sever it's displayed a default centmin mod page.

    Would be possible to check the install using <local ip>/<vhost name> ?

    What should I check next ?
    Even I have set correctly name in dns and it answers with my server ipaddress still my page it's not served.

    Thank you,
    Daniel



    Please fill in any relevant information that applies to you:
    • CentOS Version: i.e. CentOS 7 64bit ?
    • Centmin Mod Version Installed: 123.09beta01
     
  2. eva2000

    eva2000 Administrator Staff Member

    53,229
    12,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,654
    Local Time:
    8:29 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  3. dandumit

    dandumit New Member

    19
    1
    3
    Jan 9, 2021
    Ratings:
    +1
    Local Time:
    1:29 AM
    Thank you eva2000 ! Impressive support. I have followed your guideline. Now the issue it's that I have this server behind of a pfsense and it is blocking there in an error "A potential DNS Rebind attack has been detected".

    Where are you keeping those servers ? do they are on a DMZ zone or behind of a firewall ?

    Thank you,
    Daniel
     
  4. eva2000

    eva2000 Administrator Staff Member

    53,229
    12,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,654
    Local Time:
    8:29 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    where you getting that error from connecting to centminmod.com ?? or is that a pfsense issue?
     
  5. dandumit

    dandumit New Member

    19
    1
    3
    Jan 9, 2021
    Ratings:
    +1
    Local Time:
    1:29 AM
    YEs. was a pfsense issue and I think that I have fixed it.

    Testing from a phone (external ntw) I have managed to reach server but it serves default page of centmin install.

    How could I investigate further why does not serves the page for vhost ?
    I have put some specific files on vhost folder but it does not serves those.

    Thank you,
    Daniel
     
    Last edited: Feb 2, 2021
  6. eva2000

    eva2000 Administrator Staff Member

    53,229
    12,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,654
    Local Time:
    8:29 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    2nd post actually addresses that in this thread at Install - Accessing vhost from lan (later from external)
     
  7. dandumit

    dandumit New Member

    19
    1
    3
    Jan 9, 2021
    Ratings:
    +1
    Local Time:
    1:29 AM
    thank you @eva2000 for all of your effort.

    I have upgraded tool to latest beta . I have deleted first vhost. i have created it again and now it serves the page there.
    thank you once again
    Daniel