How to Host Multiple WordPress Websites on One Server with Apache
Тәжірибелік нұсқаулар және стиль
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
Пікірлер: 123
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
3 жыл бұрын
Awesome, I'm so happy to hear that :)
Perfect! To the point and complete. Neophyte trying to deploy on Linode. I didn't even know what LAMP was! Very helpful!
@TonyTeachesTech
3 жыл бұрын
Great to hear!
Superb! Bro Your are the Linux Genius.
Perfect. And I know people wrote it before, just want to comment to promote the video. Thank you.
Thanks! It's been really helpful while trying to get two WP sites running in parallel
very well detailed. thanks very much.
Simple & straight to the point! Thanks
@TonyTeachesTech
3 жыл бұрын
Sure thing Kevin
Very good explanation. Thank you for this video. It cleared my doubts...😊
this channel explain all about wordpress for totally new beginner with very clear. thank you Tony. GBU.
@TonyTeachesTech
3 жыл бұрын
You're very welcome!
Exactly the video I was looking for, thank you for making it!
@TonyTeachesTech
3 жыл бұрын
No problem, glad you enjoyed it!
@mirowahedali3962
3 жыл бұрын
How to remove one of the website from multiple websites without effect other
@TonyTeachesTech
3 жыл бұрын
@@mirowahedali3962 You can simply remove the config from the sites-enabled directory
Wow! Its just Amazing Love it. Thanks very much.
@TonyTeachesTech
3 жыл бұрын
Most welcome 😊
Wow! This is awesome. I can use this for the oracle free instance. Thank you, Tony
@TonyTeachesTech
2 жыл бұрын
You’re welcome!
Great tutorial.. Thank you!
@TonyTeachesTech
3 жыл бұрын
You're very welcome!
Thanks man
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
Thank you for that helpful info and thank you for no background music.
@TonyTeachesTech
3 жыл бұрын
Of course!
Great tutorials, should have much more followers. :)
@TonyTeachesTech
3 жыл бұрын
I appreciate that a lot! Thanks :)
tks so much
@TonyTeachesTech
11 ай бұрын
yw
Good video
@TonyTeachesTech
3 жыл бұрын
Glad you enjoyed
in the end you cleared the confusion, i was about to ask :) any ssl binding video ?
@TonyTeachesTech
3 жыл бұрын
Check this video out kzread.info/dash/bejne/lJuXtMquk6jUaZM.html
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?
goooooooooooood
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.
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 ?
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
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
Hey Tony. Which DO droplet would you recommend for 30 WordPress websites? Websites include blogs, corporate, and e-commerce. Average traffic per website - 800.
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
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
3 жыл бұрын
I wouldn't suggest developing directly in terminal on your Mac. Either spin up a VPS (at Linode, DigitalOcean, or Vultr) kzread.info/dash/bejne/e3an2bGtibnbYs4.html from $5/month or use a tool like DevKinsta kzread.info/dash/bejne/fqd8j6mCdcrQkco.html assuming you are working exclusively with WordPress
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!
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
Great video, just wondering why don't you need to change the ownership of /var/www/ instead of root to www-data?
@TonyTeachesTech
3 жыл бұрын
By default that the /var/www/ directory has the appropriate permission after a fresh install of the OS
Great video, but if you use bitnami LAMP amazon lightsail?
@TonyTeachesTech
3 жыл бұрын
If your server is still LAMP, these instructions should still work for you
the best mentor ever, really helpfull and clear explenation
@TonyTeachesTech
Жыл бұрын
Great to hear it :)
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 ?
Hey Tony! Great Tutorial video. Can You please share the Commands which You use in this video?
@TonyTeachesTech
3 жыл бұрын
Here you go tonyteaches.tech/host-multiple-websites-apache/
@AliRaza-vc7jk
3 жыл бұрын
@@TonyTeachesTech Thanks (Y)
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
2 жыл бұрын
Not sure about docker. Hosting multiple sites on the same server is okay. This is how many hosting companies work
@zariffathurrahman6454
2 жыл бұрын
@@TonyTeachesTech understand, thanks for the answers tony.
Good! Thank you! How about import ready file into localhost?!
@TonyTeachesTech
2 жыл бұрын
You can use ftp or scp. I have videos for both on this channel
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
3 жыл бұрын
Please double check your Apache config file to make sure it matches my examples
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
2 жыл бұрын
I don't think so
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
3 жыл бұрын
I'm happy to hear that Mohammed!
How secure is this though?
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
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?
If I like 2 sites on server1 and 2 sites on server2 on same ip and port 80. I hope you can explan .
...Need some mysql tutorial too ...
@TonyTeachesTech
3 жыл бұрын
Noted, stay tuned
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
3 жыл бұрын
What specifically are you interested in learning? I can certainly point you in the right direction :)
Is possible to change Domain name after everything is setup. I tried other way, it was not easy to change main site domain.
@TonyTeachesTech
2 жыл бұрын
Yes, but it's complicated because you have to change it in many places
Plz show how to create subdomain and install wordpress on it.
@TonyTeachesTech
3 жыл бұрын
You can host a WordPress website at a subdomain with the same exact steps in this tutorial
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
2 жыл бұрын
Make sure to have a unique ServerName in each of you config files
@edgar-mmxxiii
2 жыл бұрын
@@TonyTeachesTech That worked
Why all your sites have the same port? is that valid? why?
How do I connect a vps with my domain like I do with nameserver in normal web hosting
@TonyTeachesTech
3 жыл бұрын
Yep, simply add a DNS A record to your IP address
i have , now installing the plugins and updates prompts asking for ftp credentials
@TonyTeachesTech
3 жыл бұрын
Try this kzread.info/dash/bejne/moSppMGyiMnIe5M.html
Can make custom domain website like that for free? Just like you did.
@TonyTeachesTech
2 жыл бұрын
You'll need to purchase a domain name and web hosting. You do have some free options for web hosting though kzread.info/dash/bejne/aJt8srtpobTLkso.html
Do you need the new domain name for the website
@TonyTeachesTech
2 жыл бұрын
Not necessarily. You can use a subdomain
Hey Tony It’s really nice…. Can u make out how to add ssl certificate to this wordpress websites
@TonyTeachesTech
2 жыл бұрын
Check this out kzread.info/dash/bejne/mZyOuqiyedyxYdI.html
How dns now that ip address is a localhost or public available domain.
@TonyTeachesTech
3 жыл бұрын
You'll need to create an A record for your domain name that points to the IP address of your server
Do i need to point my new domain to this IP address before making these steps?
@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
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
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 kzread.info/dash/bejne/eqiilbmomqjKfaw.html If you have a Mac kzread.info/dash/bejne/lIeeuKuheqyqhdI.html
@wanshinlee9866
3 жыл бұрын
@@TonyTeachesTech Lots of thanks! so i need to delete the rDNS before pointing my new domain to the IP address?
@TonyTeachesTech
3 жыл бұрын
@@wanshinlee9866 Yes, you won't need that anymore
Can anyone please explain (" Does he need to buy these 3 domains? or it can be generated as inside the server? ")
@TonyTeachesTech
3 жыл бұрын
You must buy the domain names from a registrar like Google Domains or Namecheap
after that one xkcd comic, "sql" is forever "squill" to me.
What about SSL for these 3 website?
@TonyTeachesTech
3 жыл бұрын
You can use Let's Encrypt kzread.info/dash/bejne/gnt42pWxqK-tl6Q.html
how to install multiple wordpress on different folders in a single website? like abc.tech/home abc.tech/french abc.tech/german etc
@TonyTeachesTech
3 жыл бұрын
You would need to change the Site URL and Site Address in the WordPress settings
I am not able to write in wp-config.php it is showing that you can't open file for writing
@TonyTeachesTech
3 жыл бұрын
Sounds like you need to add write permissions to this file. Something like this... chmod +w wp-config.php
@satishkumarojha5377
3 жыл бұрын
@@TonyTeachesTech thank you so much sir.....ur videos are helping me a lot 🙏🙏🙏
How to host multiple websites with single IP address in Windows using XAMMP?
I again come too check if i am clicked on link button or not because i sm drunk
@TonyTeachesTech
3 жыл бұрын
Uh oh 🍻
Instead of opening the website, my browser is googeling it...
@TonyTeachesTech
2 жыл бұрын
Huh???
@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)