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?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!
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.