We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17851
    • 213 Posts
    i have a main and sub domain on same box and i want to reference a CSS on the subdomain as if it were on the main domain…possible?

    actual file: www.mydomain.com/css/style.css
    i want the following url to point to the actual file: subdomain.mydomain.com/mainsite/css/style.css

    i setup the media source and can see the files in MODX file manager, but the baseurl doesn't seem to be working. that is, when i hit the subdomain url, i get a 404:

    basePath (points to main site): /var/www/html/skin/frontend/default/blanco/ (dir has a 'css' child dir)
    basePathRelative: No
    baseUrl: mainsite/
    baseUrlRelative: No

    Any pointers please?
      Mark Macatee
      President
      Power 10 Solutions
      http://www.power10solutions.com