Support » Installing WordPress » Unable to install wordpress for multiple domains on single droplet Ubuntu 18.04

Viewing 4 replies - 1 through 4 (of 4 total)
  • What do you mean by “i am not able to install WordPress successfully”?

    What sort of problem are you encountering?

    Now, i am using Ubuntu 16.04 and did all the necessary steps to make 2 websites on single droplet except wordpress.
    I need multiple wordpress instances on the same droplet. For that, i need separate MySQL Database and MySQL User for wordpress for each site. that i can do by these commands-

    mysql -u root -p
    CREATE DATABASE wordpress1 DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
    CREATE DATABASE wordpress2 DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;

    GRANT ALL ON wordpress1.* TO ‘wordpressuser1’@’localhost’ IDENTIFIED BY ‘sdrt@rf4Dgy’;
    GRANT ALL ON wordpress2.* TO ‘wordpressuser2’@’localhost’ IDENTIFIED BY ‘der@4rW5tg6’;

    FLUSH PRIVILEGES;
    EXIT;
    till here, everything is fine but after that, i am confuse what to do because i have already done all the steps as mentioned here at https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lamp-on-ubuntu-18-04. But, wordpress login is not coming to my both sites.

    Seriously, if you’re asking these kinds of questions, I’m wondering if the path you’re taking is the right path for you.

    What happens when you get your sites up but something breaks. Can you endure days or even weeks of downtime as you read tutorial after tutorial trying even figure out what’s broken and then how to get it fixed?

    My suggestion: instead of taking the full DIY approach, use a WordPress LEMP installer like Webinoly to save yourself the headaches, save time, and properly optimize and secure your server.

    Here’s what I’ll advice you do:

    1) Re-build your DO node with the latest LTS version of your preferred OS, Ubuntu 18.04 LTS. Make sure to install the plain version, NOT the WordPress version or one with any “apps” preinstalled.

    2) Install and use the Webinoly script to deploy and manage your WordPress sites.

    wget -qO weby qrok.es/wy && sudo bash weby 3

    3) With Webinoly installed, the simple command sudo stack -lemp will install and properly configure Nginx, MariaDB(MySQL), PHP and a few other utilities including LetsEncrypt client for automatic SSL/HTTPS setup.

    After that you can setup as many WordPress sites as you want on the single server with a single line of code:

    sudo site example.com -wp

    This code automatically creates the database and user, downloads the latest WordPress files, and INSTALLS everything for you. As long as you’ve already pointed example.com to your server, your website is ready for you to complete the final stage of the web installer.

    Want to setup SSL/HTTPS? Again, simple: you could add -ssl=on to the installation command above. You can also setup server-based Redis caching with -cache=on … and the full command becomes:

    sudo site example.com -wp -ssl=on -cache=on

    There are additional one-line commands like these to customize and manage your WordPress website after installation.

    Want to setup a second (or 100th) WordPress website at newdomain.com? Simple:

    sudo site newdomain.com -wp

    See the Webinoly website and spend some time to study their documentation!

    Good luck!

    George, can you recommend an apache equivalent to Webinoly?

    Thx.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.