How to Install and Use Virtualmin (and Webmin) on Debian (with multiple domains)
HTML-код
- Опубликовано: 20 авг 2024
- Learn how to install Virtualmin and Webmin on Debian. Additionally, we will configure multiple domain names and install a WordPress server. Instructions in this video will be very similar or the same for Ubuntu.
Code snippets and more at tonyteaches.te...
Check out my vlog channel @TonyFlorida
#virtualmin #webmin
Typing out everything is always better because it is how you learn more.
That's true
Great video, Tony! Would be great to see a more in depth review of Webmin/Virtualmin.
Noted!
instaBlaster.
To redirect all http requests to https (Apache): Goto Webmin > Servers > Apache Webserver > Click port 80 > Edit directives, then add on the bottom "RedirectMatch ^/(?!.well-known)(.*)$ example.com/$1" click Save and Close. To restart Apache, click webmin (Dashboard) scroll to Server Status, you can restart there.
Thank you Ross
Thank you very much for this video. If I could give you 3 thumbs up, I would. For me, the most important part of this video was the DNS settings you showed us near the beginning. I had installed Virtualmin multiple times, and had 7 different WordPress sites running, but with each one the email would fail, and I can't have my sites without email. The more I tried to fix it, the worse it would crash, until eventually all my websites went down with what appeared to be mysterious DNS error messages. I will look through your more recent videos to see if you have a specific email video for Virtualmin, but for now, I think those DNS settings will be exactly what I was looking for. Thank you. 👍
Update: After watching more of your videos, maybe what I'll do is install & use CyberPanel instead of VirtualMin, because I want to make sure I can get the email running for each of my sites I'm transferring in, before I go to the work of actually moving the sites over. Thank you again. 👍
CyberPanel would be my recommendation right now. Thanks Suz!
Wow, Virtualmin looks really cool. Would love to see a more detailed video on Virtualmin.
Noted!
@@TonyTeachesTech Thanks for the video, could you explain how to Handle RESELLER accounts? thanks!!
@@carlospaz3732 What do you mean?
@@carlospaz3732 You should go to to users/groups, and there you could create users and groups and set permissions etc etc ....
Might mention the IP addresses on the virtual server details the first IP is the internal IP used by all the virtual servers, the external one is the one you setup with your domain hosting company, pretty sure that one has to show the same as Domain hosting IP
Thanks Keith
Great tutorial. Really helped to set my vps. Expect more virtualmin tutorials
Thanks :)
THANK YOU VERY MUCH!!
I was looking for this!! subscribed!
Thanks for the sub!
thank you very much for your tutorial it helped me a lot. A+
You're welcome!
I got Ubuntu 22.10 is not supported by this installer. when I want to install the virtualmin on my VPS server terminal
Great Video, I would have gone through the Server Configuration/SSL Certificate and tested the connectability fist to avoid using one of those attempts to obtain a Cert before being forced to wait , I think 72 ours to try again
Thanks Keith
@@TonyTeachesTech As I found out later the ability to check connections had a glitch in it and was not functional at the time of the message, they have fixed it now I think
as always great video Tony!, just wondering if possible can you make video showing set up email on Virtualmin? your Cyberpanel one works great and have it set up but prefer Virtualmin > Cyberpanel for other stuff but just cant get email to work on it :( , thanks in advanced if you do decide to do one
Something I will consider!
You removed the index.html file but you should also edit conf file and change the html to php. In the future, you should need to upload html or index.html file for some reason e.g. google ad settings, any plugin settings or something else. You website will be diverted to index.html again.
Thank you for the suggestion :)
Hey! Great video!
How do I set up the SSL for a subdomain?
I would suggest using Let's Encrypt ruclips.net/video/bgcRhucEn90/видео.html
Virtualmin rocks!
:)
Broooo! Another great video! You might as well change the name of the channel to "Bible of cloud hosting" 😂
Bro, could you kindly check another thing? I see hostlaunch on digitalocean, but I can't seem to find any video of their usability or reviews. I mailed them, but no reply yet. Seems like a great service, especially their pricing structure 🤔
Thanks for bringing hostlaunch to my attention. I can perhaps look into this in the future, but this will be a low priority topic for this channel right now
Hi! So I followed the steps and successfully completed all. Now I am having trouble adding more domains from site.xyz. I keep on clicking on virtualmin from the dashboard but the site4 is selected, not being able to unselect. Any pointers on how to add more domains like site4? I don't want the domains to be under site4.
Sorry if I am sounding stupid 😅
Hi Tony, is there a more specific guide to deploying Django apps using virtualmin? I tried to get django app running but it only works when I'm hosting it on ip. I cant connect/point actual domain to it even after adding the domain to virtualmin server
Can you make a video for multisite in Virtualmin. Or converting normal site to multisite. And install ssl certificate.
Please explain how we can create emails on our domain name and email management system also a SMTP server and connect all of them,
Self hosting email is not something I will be making tutorials for right now
@@TonyTeachesTech thanks for your response tony highly appreciated 👍
But can you please guide me a bit on that how the imap thing works in case of having custom smtp like postal or postfix. Can I use my office 365 email in mautic while I use it in office it self for sending emails from my own smtp?
@@hassanacif To be honest, I don't have much experience with creating/managing mail servers. What I do know is that it is very complicated to configure everything just right so your emails don't end up being marked as spam. Sorry I can't be more help for you.
Hello
How to configure bind as a public dns resolver on webmin
Great video, though the Webmin/Virtualmin explanation at the end of the video wasn't clear, thanks!
Sorry about that
where it asks to enter the primary network interface... I enter "enp0s3" as shown...
I am using oracle cloud
Okay
I would like if you could make a cyberpanel video thank you very much for this video
I have a few CyberPanel videos on my channel. Check them out! ruclips.net/channel/UCWPJwoVXJhv0-ucr3pUs1dAsearch?query=cyberpanel
@@TonyTeachesTech thanksssss
Can it do multiple version of PHP by web site?
Hi Tony! Really love your descriptions.. Do you have a video showing how to set up a new domain from scratch still registered under Namecheap all on one IP? Thanks in advance!
namecheap domain and namecheap hosting?
Namecheap domain with Digital Ocean VPS using Webmin (setting up 2nd domain i.e)
webmin permise also the renew dns challenge with namecheap?😲 thanks Tony 💪
it would have been great if you could have added the codes in the description..nvertheless, great tutorial..i followed it and set it up
Code snippets are linked on my blog!
@@TonyTeachesTech you need to check that link. it leads to a 404. searched your blog as well, virtual min does not yield a result.
@@owaisted it is working, here is the link tonyteaches.tech/install-virtualmin-tutorial/. Please let me know if you cannot access it
Hi, thanks for the video. Do you have any idea why the option "Create Virtual Server" is missing for me? I just installed Contabo VPS + Webmin + LAMP. Thanks in advance!
@Tony Teaches Tech But you did't show that How to make site3 a php scripted Website, you talked only about site4 but what if we want to make site3 a PHP Scripted website & site4 a Wordpress Website?
This video is a general PHP/MySQL tutorial video that might help you ruclips.net/video/3isdcAEZoq0/видео.html
Hi, @Tony , can you make a video on how to configure postfix via webmin?- I don't understand a thing and can't create simple mailbox to communicate via webmail with people.
At some point I can probably look into this
great video amigo gracias
You bet 👍
Great job, well described steps, what would be the implications of using nginx instead of apache? would wordpress still work?
Yes you can use WordPress with either web server
Installation stuck on Removing nginx (if installed) before LAMP installation. :( please help
I use vps contabo , Ubuntu 20.04
Sorry, I'm not sure how to help with that
Do you have installed phpmyadmin? Uninstall phpmyadmin and reinstall
Great video Tony. I have a Contabo VPS with Webmin+LAMP pre-installed. How do I install Virtualmin?
I think you can still execute the official install.sh script. Additionally, before you do this, you can run install.sh --help to see if there are any options that allow you to specify Virtualmin without Webmin
Hey thank you for great video
can you help me with one thing?
any subdomain which don't exist it redirects to my root server IP address 🙏🙏
Thanks! Not sure about your question :/
Thank you Tony. I installed virtualmin on my server and successfully installed wordpress on it thanks to your video, but when I tried to deploy my django app, the control panel throw me an error telling me that this can not be done. what options do I have? how can I manage a unmanaged server with a free control panel that supports both wordpress and django apps ? I am not very technical and I think I need some sort of control panel instead of command line.
Have you considered CyberPanel? ruclips.net/video/5K18cDAgAzY/видео.html
This supports WordPress as well
hey, tony, which microphone you are using to record audio? please let me know and love for you ❤️
tonyflorida.com/kit
Hello, i need a big help.. so im using installed scripts for my website, however when i installed the phpmyadmin, it makes a folder on public_html, and the problem is that it's visible folder on FTP, and i want to hide it or change the directory level, how to do that?
You'll probably need to edit a phpmyadmin config file to change the location it serves from
iam installing to my existing VPS in contabo , but still take 6 hour
Why so long?
Thank you, great content , can you show us how to install a nodejs APP for a domain on virtualmin GPL in stead of php stack because its becoming a need nowadays (apparently it can be done manually as the GPL users don't get it in the list of scripts like in the pro version)
I just have no idea , like does each client need to serve on a unique port and then we reverse proxy to his port?
You're welcome! Sorry Saabir, I don't have experience with NodeJS :(
I think it can be done with Apache virtual host.
hi, when i run "ip a" on the server i have an interface named eth0 @ if14 and it has ip 10.x.x.x. but if i check the netplan folder there is no configuration. it has an effect on my virtualmin
"No Ethernet interface could be automatically found on your system. Use the module configuration page to set the interface manually.".
Do you have an solution?
Oh I'm sorry, I don't know how to help in this case
Thanks Tony, if I want to increase ram in the future will virtualmin automatically adjust and use the additional resources or is an update also required within virtualmin?
I believe it will automatically use the additional resources
@@TonyTeachesTech But you did't show that How to make site3 a php scripted Website, you talked only about site4 but what if we want to make site3 a PHP Scripted website & site4 a Wordpress Website?
this video is unsafe ;) thanks for the tut. Looking into virtualmin, and now they have a one-click for it. Virtualmin also now has a redirect option from http to https!
Oh great
Hi Tony, I followed your instructions to install Wordpress and once I deleted the 'index.html' file the access via browser turned into 'Forbidden 403'. The only differences from your video are a) I used Virtualmin to delete the file in the same directory as indicated; and b) the install was not on Root but I accepted the default to install wordpress in a directory 'wordpress'. How do I correct the Forbidden 403 access?
I have had to uninstall Wordpress and re-install in Root...
As you noted, 403 forbidden is a direct result of you deleting the index.html file. Why did you do that? Your web server is looking for that file to exist. When it can't find it, it gives you that error.
@@TonyTeachesTech Deleting the index.html file is not what you instructed at the 22'24" mark in your video?
@@abelveredas6644 I'm sorry, I got mixed up with my response here. Can you confirm that Virtualmin is expecting the index.php file to exist in the root of your wordpress directory?
Is it possible to use Nginx instead of Apache?
Yep! www.virtualmin.com/documentation/web/nginx
It is Deb Ian, as in Debra and Ian ... Debian (short e) fyi
I'm stuck in my ways of pronouncing some of these names like Debian, Ubuntu, and sudo
@@TonyTeachesTech no worries. Ian did not pursue that relationship as far as I know.
@@stephenburrows1816 LMAO!
Hey will those ligne will works for Ubuntu as well?
ligne?
Hi,
thanks for this video. If I want to upload php script from CodeCanyon, How is that? When I upload it, it gave me error 500. can you help please!
Here are some methods of bringing in website content to virtualmin www.virtualmin.com/documentation/web/content
@@TonyTeachesTech thanks, it was smilpe. Just put your url in /install.php 😅 👍
@Short Video Only I'm stuck on the same issue. Mind telling me how you did it? Thanks in advance!
@@kevin_kk
Hi, I don't know what your problem exactly but my problem is not problem in reality. Because I did every things correctly but the issues that appeared because I do not register to my admin website that should put your information in it for example your name, your website domain, sql....
If you upload your php script correctly go to browser and put your url in for example: www.example.com/install.php
Then will appear page for put your information in it.
Sorry my english not good, I hope this will help you.
@@shortvideoonly720 Hi & thanks for the prompt feedback.. I actually did some more research & found more info on this
petalhost.com/blog/add-sub-domain-in-virtualmin-webmin/
Is there a reason you used two domains? Can this be set up with one domain?
You can certainly use just 1 domain.
@@TonyTeachesTech thanks for the reply. What would be the use case for how you did this setup?
@@jjbailey01 simply to demonstrate multiple domains on a single server
I think your video is great, but it does not fully comply with the title, you explain how to install a single domain, but it does not explain how to install multiple domains (other additional ones) that is in the name of the video, with webmin and vitualmin
Sorry for the confusion. To add additional domains, simply add additional virtual servers as we do at 13:15 in the tutorial. Just make sure you point your DNS A records for your domain name to the IP address of your server.