Тёмный

How to Host Multiple WordPress Websites on One Server with Apache 

Tony Teaches Tech
Подписаться 106 тыс.
Просмотров 27 тыс.
50% 1

Learn how to host multiple websites on a single IP address or server. This video will teach you the Apache configuration settings necessary to run many WordPress websites on one hosting plan, each with their own domain name.
Need an Apache LAMP server? • How to Install an Apac...
Code snippets and more at tonyteaches.tech/host-multipl...
Check out my vlog channel ‪@TonyFlorida‬
#apache #wordpress

Хобби

Опубликовано:

 

13 авг 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 123   
@a.j743
@a.j743 3 года назад
I never see this -thing- so clear as you explained here! Really, it's like all those command lines now actually make sense to me! Thanks!
@TonyTeachesTech
@TonyTeachesTech 3 года назад
Awesome, I'm so happy to hear that :)
@gregorypape1675
@gregorypape1675 3 года назад
Perfect! To the point and complete. Neophyte trying to deploy on Linode. I didn't even know what LAMP was! Very helpful!
@TonyTeachesTech
@TonyTeachesTech 3 года назад
Great to hear!
@kevin_kk
@kevin_kk 3 года назад
Simple & straight to the point! Thanks
@TonyTeachesTech
@TonyTeachesTech 3 года назад
Sure thing Kevin
@anuanusha3986
@anuanusha3986 2 года назад
Very good explanation. Thank you for this video. It cleared my doubts...😊
@rafi_45
@rafi_45 3 года назад
this channel explain all about wordpress for totally new beginner with very clear. thank you Tony. GBU.
@TonyTeachesTech
@TonyTeachesTech 3 года назад
You're very welcome!
@marcf868
@marcf868 2 года назад
Thanks! It's been really helpful while trying to get two WP sites running in parallel
@gralexp
@gralexp 2 года назад
Perfect. And I know people wrote it before, just want to comment to promote the video. Thank you.
@alinaseri7951
@alinaseri7951 Год назад
very well detailed. thanks very much.
@graveshotx
@graveshotx 4 года назад
Exactly the video I was looking for, thank you for making it!
@TonyTeachesTech
@TonyTeachesTech 4 года назад
No problem, glad you enjoyed it!
@mirowahedali3962
@mirowahedali3962 3 года назад
How to remove one of the website from multiple websites without effect other
@TonyTeachesTech
@TonyTeachesTech 3 года назад
@@mirowahedali3962 You can simply remove the config from the sites-enabled directory
@JoshMustillo
@JoshMustillo 2 года назад
Sweet tutorial. Followed this thoroughly as well as other guides with no luck, my two separate installs of wordpress are installed correctly and accessible however visiting my separate domains will take me to the one site. Must be something else
@roohulamin16
@roohulamin16 3 года назад
Wow! Its just Amazing Love it. Thanks very much.
@TonyTeachesTech
@TonyTeachesTech 3 года назад
Most welcome 😊
@Legacybldr
@Legacybldr 2 года назад
Wow! This is awesome. I can use this for the oracle free instance. Thank you, Tony
@TonyTeachesTech
@TonyTeachesTech 2 года назад
You’re welcome!
@sidharthv
@sidharthv 3 года назад
Great tutorial.. Thank you!
@TonyTeachesTech
@TonyTeachesTech 3 года назад
You're very welcome!
@iMacbarack
@iMacbarack Год назад
Superb! Bro Your are the Linux Genius.
@IceCoffy
@IceCoffy 3 года назад
Thank you for that helpful info and thank you for no background music.
@TonyTeachesTech
@TonyTeachesTech 3 года назад
Of course!
@Taiwaneverything
@Taiwaneverything 3 года назад
Great tutorials, should have much more followers. :)
@TonyTeachesTech
@TonyTeachesTech 3 года назад
I appreciate that a lot! Thanks :)
@tubePravake
@tubePravake 2 года назад
Beautifully explained and made really easy. However I was wondering what are the security precautions that i have to take if I were to host my 3 business sites that I have in WordPress? Could you please help me on the same?
@hashimp9870
@hashimp9870 6 месяцев назад
Thanks man
@JunaidAhmed-ox2xd
@JunaidAhmed-ox2xd 3 года назад
in the end you cleared the confusion, i was about to ask :) any ssl binding video ?
@TonyTeachesTech
@TonyTeachesTech 3 года назад
Check this video out ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-bgcRhucEn90.html
@PlayhouseMediaGroup
@PlayhouseMediaGroup 3 года назад
Hi Tony, Thank you so much for the tutorial it is very useful to me since I have a number of domains I need to host, I have a quick question, so all the domains are pointing to one IP address for that virtual machine? I want to use GCP virtual machines
@TonyTeachesTech
@TonyTeachesTech 3 года назад
Yes, all domains will point their DNS records at the same IP address. Apache will do the work of routing which requests go to which website on your server
@phamvandat2000
@phamvandat2000 11 месяцев назад
tks so much
@TonyTeachesTech
@TonyTeachesTech 11 месяцев назад
yw
@lashachan
@lashachan 2 года назад
Hey Tony. Which DO droplet would you recommend for 30 WordPress websites? Websites include blogs, corporate, and e-commerce. Average traffic per website - 800.
@AshishGupta-ku4fd
@AshishGupta-ku4fd Год назад
Hey.. Thanks for this help but please can you tell how enable ssl for wordpress. i failed to enable SSL with Lets Encrypt ! Could you do video for it ?
@PranavKumarG
@PranavKumarG 3 года назад
my second wordpress installation open up the 1st wordpress site can't I host unique niche, and also the permalinks have index.php sandwiched like domainpro.net/index.php/top-5-most. Any help is commendable Thank you in advance.
@wh3647
@wh3647 2 года назад
If you are creating your own servers and hosting 3 sites how do you certbot each site? Also how would you create a per user per site? Tried WordPress and it could not auto update the site as it did not have permissions and needed ftp setup
@chrisdamonsworld
@chrisdamonsworld 3 года назад
Good video
@TonyTeachesTech
@TonyTeachesTech 3 года назад
Glad you enjoyed
@mitchellaninyang12
@mitchellaninyang12 3 года назад
Hey Tony, loved the video. But i'm using virtual box on mac to do this. how do i configure everything in my terminal, and use that as my primary workspace, just like you?
@TonyTeachesTech
@TonyTeachesTech 3 года назад
I wouldn't suggest developing directly in terminal on your Mac. Either spin up a VPS (at Linode, DigitalOcean, or Vultr) ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-IBswOtYVu2k.html from $5/month or use a tool like DevKinsta ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-LsH-GIEgjag.html assuming you are working exclusively with WordPress
@ss4717
@ss4717 3 года назад
Great video, just wondering why don't you need to change the ownership of /var/www/ instead of root to www-data?
@TonyTeachesTech
@TonyTeachesTech 3 года назад
By default that the /var/www/ directory has the appropriate permission after a fresh install of the OS
@chernovchernov
@chernovchernov Год назад
This turtorial is not full! 🙂 You have two site from the beginning, but how did you do that? When I install two different sites WordPress to the two different directories, change apache2 settings, however I came to the first site!
@AliRaza-vc7jk
@AliRaza-vc7jk 3 года назад
Hey Tony! Great Tutorial video. Can You please share the Commands which You use in this video?
@TonyTeachesTech
@TonyTeachesTech 3 года назад
Here you go tonyteaches.tech/host-multiple-websites-apache/
@AliRaza-vc7jk
@AliRaza-vc7jk 3 года назад
@@TonyTeachesTech Thanks (Y)
@mohammadrezaebrahiminoor-ed5ok
@mohammadrezaebrahiminoor-ed5ok 5 месяцев назад
goooooooooooood
@zariffathurrahman6454
@zariffathurrahman6454 2 года назад
Good tutorial. I just wondering which is the good practice to host multiple wordpress. Should i go with your tutorial or use container like docker?
@TonyTeachesTech
@TonyTeachesTech 2 года назад
Not sure about docker. Hosting multiple sites on the same server is okay. This is how many hosting companies work
@zariffathurrahman6454
@zariffathurrahman6454 2 года назад
@@TonyTeachesTech understand, thanks for the answers tony.
@gindoprinandosinaga8109
@gindoprinandosinaga8109 Год назад
the best mentor ever, really helpfull and clear explenation
@TonyTeachesTech
@TonyTeachesTech Год назад
Great to hear it :)
@3rdtwirl494
@3rdtwirl494 2 месяца назад
Hi. I’ve got a new client who says it’s Wordpress but I’ve finally logged into cPanel but don’t see WP installed. Though the files are there. Is apache also in cPanel ? I think it’s apache . How can I access the files to make changes if so
@walderfranco
@walderfranco 3 года назад
Great video, but if you use bitnami LAMP amazon lightsail?
@TonyTeachesTech
@TonyTeachesTech 3 года назад
If your server is still LAMP, these instructions should still work for you
@anvarabdu825
@anvarabdu825 2 года назад
Good! Thank you! How about import ready file into localhost?!
@TonyTeachesTech
@TonyTeachesTech 2 года назад
You can use ftp or scp. I have videos for both on this channel
@supernovas9587
@supernovas9587 3 года назад
hi tony I have followed the step on you video(i except using linode for the hosting too) and I found that if I enter the site 2 website it will redirect to site 1
@TonyTeachesTech
@TonyTeachesTech 3 года назад
Please double check your Apache config file to make sure it matches my examples
@lobnagheriani1757
@lobnagheriani1757 2 года назад
hi thanks for the tutorial.... what if i dont have site 1 or site 2 configurations to copy :/ is there a tutorial on how to host several websites from scratch on VPS
@TonyTeachesTech
@TonyTeachesTech 2 года назад
I don't think so
@lyloulou3581
@lyloulou3581 8 месяцев назад
Followed all the steps but i cannot load the WP install. When i type the external IP address i get the Apache HTML welcome page. Any advice ?
@ipv4subnet628
@ipv4subnet628 3 года назад
How does the DNS lookup know that site 1 2 and 3 are all on the same IP? There has been nothing done to separate site 1 from 2 from 3 so I'm trying to see how each site would be seen as a different site from another under the same IP . I know this is possible to do by specifying additional ports like site1:80 site2:81 site3:82 but I was wondering if there's another more simple way :/
@TonyTeachesTech
@TonyTeachesTech 3 года назад
The web server (like Apache) handles the external traffic and routes it to the proper site. The DNS server doesn't make this distinction. Make sense?
@vaishnav3735
@vaishnav3735 3 года назад
How do I connect a vps with my domain like I do with nameserver in normal web hosting
@TonyTeachesTech
@TonyTeachesTech 3 года назад
Yep, simply add a DNS A record to your IP address
@MAJIDNISAR
@MAJIDNISAR 3 года назад
i have , now installing the plugins and updates prompts asking for ftp credentials
@TonyTeachesTech
@TonyTeachesTech 3 года назад
Try this ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-hPuB_yXfbK0.html
@oxomax
@oxomax 3 года назад
Dude!!!! ...there is something called "Control Panel". Does it ring any bell?????? By the way. I've benefitted so much from you vids about vps management. So thank you so much
@TonyTeachesTech
@TonyTeachesTech 3 года назад
I'm happy to hear that Mohammed!
@mirowahedali3962
@mirowahedali3962 3 года назад
Plz show how to create subdomain and install wordpress on it.
@TonyTeachesTech
@TonyTeachesTech 3 года назад
You can host a WordPress website at a subdomain with the same exact steps in this tutorial
@wcg981dddwwwhhh
@wcg981dddwwwhhh 2 года назад
Is possible to change Domain name after everything is setup. I tried other way, it was not easy to change main site domain.
@TonyTeachesTech
@TonyTeachesTech 2 года назад
Yes, but it's complicated because you have to change it in many places
@mukeshraj4257
@mukeshraj4257 3 года назад
How dns now that ip address is a localhost or public available domain.
@TonyTeachesTech
@TonyTeachesTech 3 года назад
You'll need to create an A record for your domain name that points to the IP address of your server
@edgar-mmxxiii
@edgar-mmxxiii 2 года назад
We also have the same setup, linode and namecheap but my second domain does not display from its configured DocumentRoot instead it pulls the default one with the first domain name
@TonyTeachesTech
@TonyTeachesTech 2 года назад
Make sure to have a unique ServerName in each of you config files
@edgar-mmxxiii
@edgar-mmxxiii 2 года назад
@@TonyTeachesTech That worked
@trondnylkken956
@trondnylkken956 8 месяцев назад
If I like 2 sites on server1 and 2 sites on server2 on same ip and port 80. I hope you can explan .
@Popcorncandy09
@Popcorncandy09 Месяц назад
How secure is this though?
@wasisadman6849
@wasisadman6849 3 года назад
Can anyone please explain (" Does he need to buy these 3 domains? or it can be generated as inside the server? ")
@TonyTeachesTech
@TonyTeachesTech 3 года назад
You must buy the domain names from a registrar like Google Domains or Namecheap
@gewoondekker3052
@gewoondekker3052 2 года назад
Do you need the new domain name for the website
@TonyTeachesTech
@TonyTeachesTech 2 года назад
Not necessarily. You can use a subdomain
@tiosing_eduard1
@tiosing_eduard1 3 года назад
can you teach for does beginner people ??? thank you i just wandering if can you release some like this video for does beginner people hehehe thank you i hope i see you next time see yah!!!
@TonyTeachesTech
@TonyTeachesTech 3 года назад
What specifically are you interested in learning? I can certainly point you in the right direction :)
@alperkeske
@alperkeske 3 года назад
What about SSL for these 3 website?
@TonyTeachesTech
@TonyTeachesTech 3 года назад
You can use Let's Encrypt ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-PGDx3xxLGgA.html
@arijitbiswas1905
@arijitbiswas1905 3 года назад
...Need some mysql tutorial too ...
@TonyTeachesTech
@TonyTeachesTech 3 года назад
Noted, stay tuned
@hydrabeast911
@hydrabeast911 2 года назад
Can make custom domain website like that for free? Just like you did.
@TonyTeachesTech
@TonyTeachesTech 2 года назад
You'll need to purchase a domain name and web hosting. You do have some free options for web hosting though ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6gHPY0qQebg.html
@harieshkumar8409
@harieshkumar8409 2 года назад
Hey Tony It’s really nice…. Can u make out how to add ssl certificate to this wordpress websites
@TonyTeachesTech
@TonyTeachesTech 2 года назад
Check this out ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ghZXFyIyK1o.html
@antidotejack2771
@antidotejack2771 2 месяца назад
Why all your sites have the same port? is that valid? why?
@wanshinlee9866
@wanshinlee9866 3 года назад
Do i need to point my new domain to this IP address before making these steps?
@TonyTeachesTech
@TonyTeachesTech 3 года назад
It would be very beneficial to do that as a first step. Technically you could use the IP addresses to begin with, but you'll eventually have to switch over to the domain, so might as well do it initially
@wanshinlee9866
@wanshinlee9866 3 года назад
@@TonyTeachesTech If do so, will the new domain also points to my current website? As my rDNS setting are pointing to my current website(Domain)
@TonyTeachesTech
@TonyTeachesTech 3 года назад
@@wanshinlee9866 No you can only have an A record that points to a single IP address. If you'd like to work on the new server without changing your DNS records but still use the domain name, you edit your local hosts file. I've made a video about this: If you have Windows ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Htn3WojEdMI.html If you have a Mac ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-bSjVIhJIDUo.html
@wanshinlee9866
@wanshinlee9866 3 года назад
​@@TonyTeachesTech Lots of thanks! so i need to delete the rDNS before pointing my new domain to the IP address?
@TonyTeachesTech
@TonyTeachesTech 3 года назад
@@wanshinlee9866 Yes, you won't need that anymore
@satishkumarojha5377
@satishkumarojha5377 3 года назад
I am not able to write in wp-config.php it is showing that you can't open file for writing
@TonyTeachesTech
@TonyTeachesTech 3 года назад
Sounds like you need to add write permissions to this file. Something like this... chmod +w wp-config.php
@satishkumarojha5377
@satishkumarojha5377 3 года назад
@@TonyTeachesTech thank you so much sir.....ur videos are helping me a lot 🙏🙏🙏
@einsteinwallah2
@einsteinwallah2 3 года назад
how to install multiple wordpress on different folders in a single website? like abc.tech/home abc.tech/french abc.tech/german etc
@TonyTeachesTech
@TonyTeachesTech 3 года назад
You would need to change the Site URL and Site Address in the WordPress settings
@live.sports717
@live.sports717 8 месяцев назад
How to host multiple websites with single IP address in Windows using XAMMP?
@Pretzel_God
@Pretzel_God 9 месяцев назад
after that one xkcd comic, "sql" is forever "squill" to me.
@probaldas4734
@probaldas4734 3 года назад
I again come too check if i am clicked on link button or not because i sm drunk
@TonyTeachesTech
@TonyTeachesTech 3 года назад
Uh oh 🍻
@tritonus1008
@tritonus1008 2 года назад
Instead of opening the website, my browser is googeling it...
@TonyTeachesTech
@TonyTeachesTech 2 года назад
Huh???
@tritonus1008
@tritonus1008 2 года назад
@@TonyTeachesTech Yeah I found the solution now. In Windows 10 you still have to configure the hosts-File for every single new virtual host in ubuntu. (Iam using WSL, the windows internal linux system)
Далее
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
How to Setup WordPress Multisite on Apache
20:14
Просмотров 4,9 тыс.
Apache Virtual Hosts
40:20
Просмотров 101 тыс.
How to host multiple websites on Nginx
4:39
Просмотров 4,9 тыс.
15 Important Things to Do After Installing WordPress
7:21
How to Setup WordPress Multisite on Nginx
21:18
Просмотров 17 тыс.
Small Act of Kindness is also a charity
1:00
Просмотров 17 млн