I use ubuntu and apace2. I installed wordpresses using one - click shell. Then I linked my domain to digitalocean. Subdomains are registered using digitalocean’s cname, which is connected to the main domain when accessing subdomains. I enat to this. When I connect the a.test.com, do not redirect test.com, It wants to connect to the set domain. What can I do?
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!
The WordPress one-click is configured with the WordPress installation as the default and any domain or subdomain requested that does not have it’s own separate apache virtualhost configuration will be directed to your default WordPress installation. With a static site there is more to do to ensure redirection but WordPress is configured by default to forward any request for a different domain to the base URL configured in your WordPress settings.
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.