Hi all, I installed Ubuntu droplet with the preconfigured image of Wordpress - also installed Https, My question is how I can add some other page for example mail.domain.com What I already did create a folder in directory /var/www/mail with the index.html file created new mail.conf file <VirtualHost *:80> ServerAdmin webmaster@localhost
ServerName $mail.mydomain.com
ServerAlias www.mail.mydomain.com
DocumentRoot /var/www/mail/index.html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost> 127.0.1.1 wordpress-s-XXXX 127.0.0.1 localhost 104.xx.xx.xx mail.mydomain.com
::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts
and it’s still not working if I go to the page mail.mydomain.com nothing -page not found
Should I allow HTTP traffic in this case? or its permission issie drwxr-xr-x 5 www-data www-data 4096 Mar 26 08:38 html drwxrwxr-x 2 www-data www-data 4096 Feb 11 15:36 html.old drwxrwxr-x 4 root root 4096 Mar 28 10:57 mail
also created DNS record in panel
DNS records Type Hostname Value TTL (seconds) A mail.mydomain.com Copy directs to 104.xx.xx.xx Copy
3600 Copy
thanks in advance for you help
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!
Creating an A record won’t make it available immediately since it needs some time to propagate. I suggest you wait at least 15 minutes before trying to access a newly created hostname. You can check if the record is propagated with the dig tool:
dig +short A mail.mydomain.com
and if it returns an IP address, it exists. You can also perform a DNS lookup against a particular resolver, such as Google’s 8.8.8.8 like this:
dig +short A mail.mydomain.com @8.8.8.8
Also make sure you have cleared all local DNS caches on your local machine before performing the above tests.
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.