How to redirect example.mydomain.com to folder.mydomain.com via DNS/.htaccess? -


is somehow possible redirect example.mydomain.com, subdomain not exist, folder.mydomain.com using either .htaccess or dns? how can achieved?

when access dns control panel , click on web dns tab, see personal web dns settings, under believe can submit domains , values. however, confused type (web alias, web forward, a, cname, txt, srv, aaaa...). me?

if .htaccess way simpler, prefer it.

thank you.

you wouldn't able use .htaccess subdomain not exist.

i assume, process described, using one.com hosting. if so, following guide of help:

manage dns settings

essentially, web forward dns entry work you:

  1. click on web dns tab.
  2. in hostname/domain column, enter subdomain redirect.
  3. set type web forward
  4. set value redirected when visiting subdomain.
  5. click (+) sign save changes.

it take 90 minutes changes take effect.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -