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

Комментарии • 124

  • @skytechbits
    @skytechbits 3 года назад +1

    Typing out everything is always better because it is how you learn more.

  • @fabforoni
    @fabforoni 3 года назад +6

    Great video, Tony! Would be great to see a more in depth review of Webmin/Virtualmin.

  • @rossphillipson3413
    @rossphillipson3413 3 года назад +2

    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.

  • @SuzNews
    @SuzNews 3 года назад +1

    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. 👍

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +2

      CyberPanel would be my recommendation right now. Thanks Suz!

  • @GauravSharma-jz2rl
    @GauravSharma-jz2rl 3 года назад +3

    Wow, Virtualmin looks really cool. Would love to see a more detailed video on Virtualmin.

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      Noted!

    • @carlospaz3732
      @carlospaz3732 3 года назад

      @@TonyTeachesTech Thanks for the video, could you explain how to Handle RESELLER accounts? thanks!!

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      @@carlospaz3732 What do you mean?

    • @gomo5628
      @gomo5628 3 года назад

      @@carlospaz3732 You should go to to users/groups, and there you could create users and groups and set permissions etc etc ....

  • @kdmiller45
    @kdmiller45 2 года назад +1

    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

  • @arunps1253
    @arunps1253 3 года назад

    Great tutorial. Really helped to set my vps. Expect more virtualmin tutorials

  • @quebuena111
    @quebuena111 Год назад

    THANK YOU VERY MUCH!!
    I was looking for this!! subscribed!

  • @henritchobo
    @henritchobo 4 месяца назад +1

    thank you very much for your tutorial it helped me a lot. A+

  • @oliviercolas2024
    @oliviercolas2024 Год назад +1

    I got Ubuntu 22.10 is not supported by this installer. when I want to install the virtualmin on my VPS server terminal

  • @kdmiller45
    @kdmiller45 2 года назад

    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

    • @TonyTeachesTech
      @TonyTeachesTech  2 года назад

      Thanks Keith

    • @kdmiller45
      @kdmiller45 2 года назад

      @@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

  • @JoseRodriguez-os3qv
    @JoseRodriguez-os3qv 2 года назад +1

    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

  • @yorumcuturk
    @yorumcuturk 3 года назад +2

    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.

  • @abhimanyusareen1670
    @abhimanyusareen1670 3 года назад +2

    Hey! Great video!
    How do I set up the SSL for a subdomain?

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +1

      I would suggest using Let's Encrypt ruclips.net/video/bgcRhucEn90/видео.html

  • @FranckMercado
    @FranckMercado 3 года назад

    Virtualmin rocks!

  • @abrarsnewworldorder
    @abrarsnewworldorder 3 года назад +3

    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 🤔

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      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

    • @abrarsnewworldorder
      @abrarsnewworldorder 3 года назад

      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.

    • @abrarsnewworldorder
      @abrarsnewworldorder 3 года назад

      Sorry if I am sounding stupid 😅

  • @sidneydjango
    @sidneydjango Месяц назад

    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

  • @davidbalanr
    @davidbalanr Год назад

    Can you make a video for multisite in Virtualmin. Or converting normal site to multisite. And install ssl certificate.

  • @hassanacif
    @hassanacif 3 года назад +1

    Please explain how we can create emails on our domain name and email management system also a SMTP server and connect all of them,

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +1

      Self hosting email is not something I will be making tutorials for right now

    • @hassanacif
      @hassanacif 3 года назад

      @@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?

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +1

      @@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.

  • @walvernme
    @walvernme 2 года назад

    Hello
    How to configure bind as a public dns resolver on webmin

  • @emilioortega9487
    @emilioortega9487 3 года назад

    Great video, though the Webmin/Virtualmin explanation at the end of the video wasn't clear, thanks!

  • @Roabie
    @Roabie 2 года назад

    where it asks to enter the primary network interface... I enter "enp0s3" as shown...
    I am using oracle cloud

  • @rafymilano6868
    @rafymilano6868 3 года назад +1

    I would like if you could make a cyberpanel video thank you very much for this video

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +1

      I have a few CyberPanel videos on my channel. Check them out! ruclips.net/channel/UCWPJwoVXJhv0-ucr3pUs1dAsearch?query=cyberpanel

    • @rafymilano6868
      @rafymilano6868 3 года назад

      @@TonyTeachesTech thanksssss

  • @jackt6112
    @jackt6112 Год назад

    Can it do multiple version of PHP by web site?

  • @kevin_kk
    @kevin_kk 3 года назад +1

    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!

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      namecheap domain and namecheap hosting?

    • @kevin_kk
      @kevin_kk 3 года назад

      Namecheap domain with Digital Ocean VPS using Webmin (setting up 2nd domain i.e)

    • @bomale
      @bomale 2 года назад

      webmin permise also the renew dns challenge with namecheap?😲 thanks Tony 💪

  • @owaisted
    @owaisted 3 года назад

    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

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      Code snippets are linked on my blog!

    • @owaisted
      @owaisted 3 года назад

      @@TonyTeachesTech you need to check that link. it leads to a 404. searched your blog as well, virtual min does not yield a result.

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      @@owaisted it is working, here is the link tonyteaches.tech/install-virtualmin-tutorial/. Please let me know if you cannot access it

  • @andreasntritsos
    @andreasntritsos Год назад

    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!

  • @syedwajahatali2020
    @syedwajahatali2020 2 года назад

    ​ @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?

    • @TonyTeachesTech
      @TonyTeachesTech  2 года назад

      This video is a general PHP/MySQL tutorial video that might help you ruclips.net/video/3isdcAEZoq0/видео.html

  • @peakminute
    @peakminute 3 года назад

    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.

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +2

      At some point I can probably look into this

  • @rafymilano6868
    @rafymilano6868 3 года назад

    great video amigo gracias

  • @sistematbg6361
    @sistematbg6361 3 года назад

    Great job, well described steps, what would be the implications of using nginx instead of apache? would wordpress still work?

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      Yes you can use WordPress with either web server

  • @yassinboulahnoud2252
    @yassinboulahnoud2252 3 года назад

    Installation stuck on Removing nginx (if installed) before LAMP installation. :( please help
    I use vps contabo , Ubuntu 20.04

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      Sorry, I'm not sure how to help with that

    • @TheYadiman
      @TheYadiman 3 года назад

      Do you have installed phpmyadmin? Uninstall phpmyadmin and reinstall

  • @abelveredas6644
    @abelveredas6644 3 года назад

    Great video Tony. I have a Contabo VPS with Webmin+LAMP pre-installed. How do I install Virtualmin?

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +1

      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

  • @hanzladev
    @hanzladev 2 года назад

    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 🙏🙏

  • @arashshahabi853
    @arashshahabi853 3 года назад

    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.

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      Have you considered CyberPanel? ruclips.net/video/5K18cDAgAzY/видео.html
      This supports WordPress as well

  • @arifaidotcom
    @arifaidotcom 2 года назад

    hey, tony, which microphone you are using to record audio? please let me know and love for you ❤️

  • @RewarrEx
    @RewarrEx 3 года назад

    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?

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      You'll probably need to edit a phpmyadmin config file to change the location it serves from

  • @udayangadesilva4173
    @udayangadesilva4173 3 года назад

    iam installing to my existing VPS in contabo , but still take 6 hour

  • @saabirmohamed636
    @saabirmohamed636 3 года назад

    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?

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      You're welcome! Sorry Saabir, I don't have experience with NodeJS :(

    • @wijaksanapanji
      @wijaksanapanji 3 года назад

      I think it can be done with Apache virtual host.

  • @muhammadadipurwanto2863
    @muhammadadipurwanto2863 3 года назад

    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?

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      Oh I'm sorry, I don't know how to help in this case

  • @MPowerMotor
    @MPowerMotor 3 года назад

    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?

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      I believe it will automatically use the additional resources

    • @syedwajahatali2020
      @syedwajahatali2020 2 года назад

      ​@@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?

  • @noblesavage149
    @noblesavage149 3 года назад

    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!

  • @abelveredas6644
    @abelveredas6644 3 года назад

    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?

    • @abelveredas6644
      @abelveredas6644 3 года назад

      I have had to uninstall Wordpress and re-install in Root...

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      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.

    • @abelveredas6644
      @abelveredas6644 3 года назад

      @@TonyTeachesTech Deleting the index.html file is not what you instructed at the 22'24" mark in your video?

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +1

      @@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?

  • @Monstajamsofficial
    @Monstajamsofficial 3 года назад

    Is it possible to use Nginx instead of Apache?

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      Yep! www.virtualmin.com/documentation/web/nginx

  • @stephenburrows1816
    @stephenburrows1816 3 года назад

    It is Deb Ian, as in Debra and Ian ... Debian (short e) fyi

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      I'm stuck in my ways of pronouncing some of these names like Debian, Ubuntu, and sudo

    • @stephenburrows1816
      @stephenburrows1816 3 года назад

      @@TonyTeachesTech no worries. Ian did not pursue that relationship as far as I know.

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      @@stephenburrows1816 LMAO!

  • @Daniel-qo9uv
    @Daniel-qo9uv 3 года назад

    Hey will those ligne will works for Ubuntu as well?

  • @shortvideoonly720
    @shortvideoonly720 3 года назад

    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!

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +1

      Here are some methods of bringing in website content to virtualmin www.virtualmin.com/documentation/web/content

    • @shortvideoonly720
      @shortvideoonly720 3 года назад

      @@TonyTeachesTech thanks, it was smilpe. Just put your url in /install.php 😅 👍

    • @kevin_kk
      @kevin_kk 3 года назад +1

      @Short Video Only I'm stuck on the same issue. Mind telling me how you did it? Thanks in advance!

    • @shortvideoonly720
      @shortvideoonly720 3 года назад

      @@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.

    • @kevin_kk
      @kevin_kk 3 года назад

      @@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/

  • @jjbailey01
    @jjbailey01 3 года назад

    Is there a reason you used two domains? Can this be set up with one domain?

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      You can certainly use just 1 domain.

    • @jjbailey01
      @jjbailey01 3 года назад

      @@TonyTeachesTech thanks for the reply. What would be the use case for how you did this setup?

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      @@jjbailey01 simply to demonstrate multiple domains on a single server

  • @HarveyVillalobos
    @HarveyVillalobos 3 года назад

    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

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      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.