Problem with domain, nginx.. Any help?
Posted: Tue Feb 09, 2021 9:34 am
I have problem with my configuration and install with Meteotemplate.
I use nginx on my Raspberry pi 4.
I also have weewx on same Raspberry pi 4.
My hostserver is on egensajt.se and its a paid server.
I have create a domain there with domain name myweather.se and sub domain www.myweather.se
My hostserver also incl database with Sql, cronjobs and phpmyadmin.
I had also created two nginx config with one for my weewx on port 80 that is configuring on sites_enabled/default
and one with sites-enabled/myweather.se with php and serverroot to the meteotemplate folder with port 8080
And checked that is right for php config and all is correct.
But nginx says file not found on myweather.se when i type in myweather.se/template/install/setup.php
It works only if i use my private ip but if i try to connect my host sql i got refused even when i type correct info.
I dont know either if my host should only be as dns or if it should be as website.
I feel totally lost and stuck.
I use nginx on my Raspberry pi 4.
I also have weewx on same Raspberry pi 4.
My hostserver is on egensajt.se and its a paid server.
I have create a domain there with domain name myweather.se and sub domain www.myweather.se
My hostserver also incl database with Sql, cronjobs and phpmyadmin.
I had also created two nginx config with one for my weewx on port 80 that is configuring on sites_enabled/default
and one with sites-enabled/myweather.se with php and serverroot to the meteotemplate folder with port 8080
And checked that is right for php config and all is correct.
But nginx says file not found on myweather.se when i type in myweather.se/template/install/setup.php
It works only if i use my private ip but if i try to connect my host sql i got refused even when i type correct info.
I dont know either if my host should only be as dns or if it should be as website.
I feel totally lost and stuck.