By dkuzmin
Greetings. I used a One-Click Wordpress installation for my droplet an launched a Wordpress site. Later I had to add a static site to my droplet and could not do that using general Apache site setup (making a virtual host file).
Can anyone help with that?
Thanks in advance.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi! I manage the WordPress one-click image. This image is just about a completely standard Ubuntu LAMP stack and it should be possible to add additional virutalhosts by simply adding a new config to /etc/apache2/sites-available and then running
a2ensite [name of your conf file]
service apache2 restart
If you can share the virtualhost configuration you are using and a bit of detail on what is occurring when you try to navigate to the newly added site in a reply I’d be happy to help you troubleshoot.
Thanks a lot.
It’s solved
Last time I worked with apache2 I had to set up symlinks manually )
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.