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
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:
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!
3rd-Party Modules Maintained: 8 - Module Installs: 150k+

Find my support or modules helpful? Donate HERE
Thanks given by:

Possibly Related Threads…
Thread Author Replies Views Last Post
Only working 1 subdomain pedrowilson 3 6 ,540 11-12-2021, 04:59 AM
Last Post: 5050
Subdomain gbrain2008 3 5 ,574 03-08-2021, 05:34 PM
Last Post: ccr1969
Subdomain Not working PLZ HELP rajeevrrs 5 18 ,028 03-14-2020, 08:47 AM
Last Post: TGates

Forum Jump:

Users browsing this thread: 1 Guest(s)