Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter tocsikbt

    (@tocsikbt)

    Hi,

    The problem has been resolved. I added the DNS name and the IP-Address of the Server to the host file of my PC. So I can reach my website from the outside and from my private LAN also.

    Thread Starter tocsikbt

    (@tocsikbt)

    Hi,

    The problem has been resolved. I added the DNS name and the IP-Address of the Server to the host file of my PC. So I can reach my website from the outside and from my private LAN also.

    Thread Starter tocsikbt

    (@tocsikbt)

    Hi,

    Thank you for the info, but I don’t understand, how can I edit my website from the outside and from my private lan at the same time.

    for example, when I want to create a new post on my website at home, than I need modify the url on dashboard to the private ip? And when it is done, I need modify the url to my dns name again?

    Thank you in advance!

    Thread Starter tocsikbt

    (@tocsikbt)

    Hi,

    yesterday I istalled the system again, with this tutorial:

    https://projects.raspberrypi.org/en/projects/lamp-web-server-with-wordpress/3

    Until wordpress installation works the normal index.php file from my private network and from the outside (from internet) properly, so the apache and the php work fine. The problem need to be with the wordpress.

    When I installed the wordpress (see Page on the mentoined Website >>> WordPress Configuration), than I can reach my wordpress site only from my private lan and from the outside can reach the website without CSS.

    But when I modify the site and home url in the dashboard of the wordpress from the private ip-address of the webserver to my dns name (from NOIP.com), than the mentioned situation will be reverse:
    (I can reach my wordpress site from the outside with CSS properly but from my private lan the worpdress loads only without CSS.)

    PS: I used only the mentoined link for installation:

    https://projects.raspberrypi.org/en/projects/lamp-web-server-with-wordpress/3

    Do you have any idea for this issue with this description?

    Thank you for your help!

    Thread Starter tocsikbt

    (@tocsikbt)

    The access log is the following:

    more /var/log/apache2/access.log
    141.212.122.128 - - [01/Jan/1970:08:54:03 +0000] "GET / HTTP/1.1" 200 18487 "-" "Mozilla/5.0 zgrab/0.x"
    176.32.32.138 - - [01/Jan/1970:10:11:48 +0000] "GET / HTTP/1.1" 301 213 "-" "libwww-perl/6.31"
    176.32.32.138 - - [01/Jan/1970:10:11:49 +0000] "GET / HTTP/1.1" 200 53765 "-" "libwww-perl/6.31"
    62.210.202.185 - - [01/Jan/1970:11:42:45 +0000] "GET /spa112.cfg HTTP/1.1" 404 503 "-" "PolycomVVX-VVX_500-UA/5.2.2.1522"
    62.210.202.185 - - [01/Jan/1970:11:42:45 +0000] "GET /spa122.cfg HTTP/1.1" 404 447 "-" "PolycomVVX-VVX_500-UA/5.2.2.1522"
    107.170.232.242 - - [01/Jan/1970:11:49:47 +0000] "GET / HTTP/1.1" 200 18487 "-" "Mozilla/5.0 zgrab/0.x"
    66.118.142.100 - - [01/Jan/1970:13:36:27 +0000] "GET /phpmyadmin/scripts/db_setup.init.php HTTP/1.0" 404 492 "-" "-"
    209.126.136.4 - - [01/Jan/1970:15:28:17 +0000] "GET / HTTP/1.1" 200 18487 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Geck
    o) Chrome/57.0.2987.133 Safari/537.36"

    The raltive path is in the readme.html:

    root@OrangePizero:/var/www/html/example.ddns.net# more readme.html | grep "stylesheet"
            <link rel="stylesheet" href="wp-admin/css/install.css?ver=20100228" type="text/css" />
    Thread Starter tocsikbt

    (@tocsikbt)

    I checked the function with DevTools, you can see my screen under the link:

    https://drive.google.com/open?id=1rdQWQ__KtGWAPgMZg0zNAkeXTvAHOSQk

    You mentioned,that I need add the following line with the correct path to the current style.css:
    <link rel=”stylesheet” href=”path/to/style.css” />

    My question is that, where I need modify it? What is the filename?

    Thank you in advance!

    Thread Starter tocsikbt

    (@tocsikbt)

    Hi,

    I made some modification in the apache configuraiton and I can reach my wordpress site from my private LAN with the ip-address of my orange pi, but the site loads without CSS.
    From outside is the website working with DNS Name properly (with CSS).

    Do you have any Idea for this?

    Thank you for your Support.

    Thread Starter tocsikbt

    (@tocsikbt)

    This site can’t be reached
    example.ddns.net refused to connect.

    • This reply was modified 8 years, 5 months ago by tocsikbt.
    Thread Starter tocsikbt

    (@tocsikbt)

    cHi,

    my problem is, that I can’t reach my wordpress site from my private lan. (at home)
    But the site is reachable from the outside.
    When I modify the home & site url for the private address of the orange pi in wordpress, than I can reach my wordpress site only from my private lan but the outside not working.

    But when I modify the site & home url for the dns name (http://example.ddns.net), than I can reach the wordpress site only from the outside. (from my private lan not working).

    On the router I set only a port forwarding with the following information:

    public port range: 80
    target ip address: private ip from the orange pi
    target port range: 80
    Protocol: Both (but I tried with only TCP also)

    I don’t know, where is the problem 🙁

    Do you have any idea for this?

    Thank you in advance!

Viewing 9 replies - 1 through 9 (of 9 total)