By iam
Hi,
not sure if this has happened to anyone but I have 2 droplets one works the other is doing something strange.
When I go on my browser and type www.mydomain.com the browser is pointed to var/www/ But when I type in mydomain.com my browser shows the site which sits in var/www/mydomain.com/
in the folder is a Wordpress run site.
I have these DNS settings:
www CNAME @
I also have the virtual domains …/apache2/sites-available/mydomain.com
ServerAdmin webmaster@localhost ServerName mydomain.com ServerAlias www.mydomain.com DocumentRoot /var/www/mydomain.com/ …
I just can’t work out where the problem lies, does anyone have any ideas?
Thanks
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!
Are you trying to associate both droplets with the same domain, i.e. mydomain.com? <br> <br>Also, do you have the Apache re-write module activated?
Hi, no they are different domain names on both droplets but the settings are the same with different domain names in the files obviously. <br> <br>My module rewrite is also active!! just seems dead strange its pointing to sub level folder on www <br> <br>Thanks for your input
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.