SYSTEM INFORMATION | |
---|---|
OS type and version | Ubuntu 22.04 |
Webmin version | Webmin 20.001 |
Virtualmin version | 7.7 |
|7.7
| Related packages | SUGGESTED |
Hi, thanks a lot for the wonderfull work of virtualmin.
i am just a novice in webhosting, how webserver works, i just want to practice my php, css, html and see how far i can get if want to host my site on a live sever so please forgive for my mistakes. i have been practicing with virtualmin for the past work installing and deleting for many times just trying understand how virttualmin works.
i decided to do a fresh install of virtualmin today and to my suprise it took about 3 to 4 hours to install.
before install i edited my hosts file like this:
127.0.0.1 localhost.localdomain localhost
127.0.1.1 server1.local-hosting,com server1
The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
but after installation i found out that my hosts has been edited like so:
127.0.0.1 localhost.localdomain localhost
127.0.1.1 server1.local-hosting,com server1
The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
xxx.xxx.xx.xx server1.local-hosting,com server1
so after installation i was able to access virtualmin on server1.local-hosting .com and everything was working fine so i created a virtualhost like example,com and i wanted to visit example,com by typing example,com and the ip address so i edited my hosts file like so
127.0.0.1 localhost.localdomain localhost
127.0.1.1 server1.local-hosting,com server1
The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
xxx.xxx.xx.xx server1.local-hosting,com server1
xxx.xxx.xx.xx myzegablade.com
xxx.xxx.xx.xx mail.myzegablade,com
xxx.xxx.xx.xx webmail.myzegablade,com
at first everything was working fine until i tried to install laravel it got stuck at lavael/pint and it cant go further i find a post on line to fix it so i reboot my pc and boom i cant access virtualmin on server1.local-hosting,com, server1.local-hosting,com:1000 and also ip adress xxx.xxx.xx.xx is also not working the response is
This site can’t be reached
server1.local-hosting,com refused to connect.
Try:
- Checking the connection
- Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
typing localhost is bringing the default apache site.
Please where did i go wrong or what did i do wrong?