Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

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!
I have done everything exactly like that but when I access example.com it opens up the example.com website from google.
Although, when I access my localhost(127.0.0.1) it opens up the file which I have places in example.com/html directory!
I 'm facing this issue in Ubuntu 18.04, Everything was working fine in ubuntu 16.04.
Can you please explain how I can fix that issue?
can i know why i cant open /var/log/apache2 folder.it says permission denied even when i use sudo command.can someone explain it to me?
Dear Kathleen, dear Justin,
thank you for your helpful documentation.
We have different servers with different subdomains in our network and I need a SSL certificate only for one subdomain, e,g, https://ww8.unidi.com/
What should be changed here?
BR,
Are you sure that you the part of the tutorial that says Next, assign ownership of the directory with the $USER environmental variable is secure?
This comand assigns root as user and i’m not sure if that is correct. Not will be better use www-data user?
Virtual directory server block instructions failed over permissions when accessing from web. This line sudo chmod -R 755 /var/www/example.com didnt work for me. Added /html to the end and it worked.
sudo chmod -R 755 /var/www/example.com/html
if you are stuck at something like this
lines 1-14/14 (end)
then press shift-q
it will return you to the terminal
Hello, hoping all are well and good.
I followed along the tutorial and when I got to the part where I enabled the new site and disabled the default site, I still get the html page from the default site… not the shortened version sitting in my virtual domain. I noted what was said by ansargondal below in the comment section and ensured that I added the line 127.0.0.1 mydomainName (the directory name @ /etc/apache2/sites-available/mydomainName). Also, I’m thinking that I can name my directory in the sites-available folder to whatever I want, without a .com or other extension. My structure is /etc/apache2/sites-available/myVirtualSite/html. Again, I tried both ways just in case it mattered. What should be in the hosts file as that might be where my problem is.
i have followed above steps and successfully created virtual hosts and added two domain names both are working fine without www but when i open www.domain1.com website is not working where as domain1.com is working fine. i have another problem if i open my ipaddress i am getting contents on my 1st domain name which i have added under var/www/domain1/html but i want files which are under var/www/html