This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Subdomain foward to http url
[Not Solved] Subdomain foward to http url
Looking to forward a subdomain sponsors.domain.tld to http://domain.tld/sponsors.

My old panel just had a forward option. I cant find anything on this. Only creating subdomains.
Thanks given by:
[Not Solved] RE: Subdomain foward to http url
2 ways:
  1. Use a custom vhost entry for the sub domain
  2. Use a .htaccess file in the sub domain's root folder
1. Log in as zadmin and navigate to Admin > Module Admin > Apache Config > Virtualhost Override > [select sub domain] > Custom Entry:
Redirect / http://domain.tld/sponsors

2. Create a .htaccess file in the sub domain's root folder with the following contents:
Redirect / http://domain.tld/sponsors
1 is the recommended way, but I am not sure if it will work with the other directives in the vhost for the sub domain.
2 may be your best bet.
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support or modules helpful? Donate HERE
Get your domains using my affiliate link:
GoDaddy - Domains
Thanks given by:

Possibly Related Threads...
Thread Author Replies Views Last Post
Sentora Subdomain Installl sathish2009 2 1,095 04-03-2017, 11:50 AM
Last Post: sathish2009
Subdomain + Cloudflare Help M0HX 2 1,368 02-04-2017, 02:18 AM
Last Post: M0HX
How To Setting Subdomain Without Domain (.com) wehaye 2 1,773 09-15-2016, 11:30 PM
Last Post: wehaye

Forum Jump:

Users browsing this thread: 1 Guest(s)