URLs on multiple sites

I have 2 sites running in MySource. 1 of the sites I have the URLs set to staticip, companyname1.com.au, www.companyname1.com.au


and the 2nd site staticip/companyname2, companyname2.com.au, www.companyname2.com.au.



I cannot get to the 2nd site via the domain name, staticip/companyname ok. When ever I put the domain name into browser I get the following page.


    Index of /
    
    Icon  Name                    Last modified      Size  Description[DIR] apache2-default/        27-Jul-2006 01:50    -   
    
    Apache/2.0.55 (Ubuntu) mod_jk/1.2.19 PHP/4.3.11 Server at companyname2.com.au Port 80


I have included companyname.com.au and www.companyname.com.au into the 2nd sites URLs.

Urgent help appreciated.

If you're seeing a directory listing, that means Apache isn't configured to serve/run Matrix correctly. Ie. Apache is not passing requests to Matrix for that domain.


Check you have included the appropraite aliases for that domain, and post your apache configuration if possible.

Thank you for the fast reply, will check it out.


Cheers.

have made entries for new alias, can get to site but no images or stylesheets working.


Seems to be referencing images and stylesheets from a different domain (192.168.0.44) this was the URL for the test site that was copied over to the production.



I have taken this URL out of System Root URLs in the System Configuration in MySource (was above companyname1.com.au, www.companyname1.com.au i nthe list)



Even with this URL removed the site is still referencing 192.168.0.44 for in source code for stylesheets and image.



Thanks!

You need to check the URLs on the Designs folder and make sure the new URLs are applied there as well. This will allow Matrix to use those URLs to serve the design elements.

That seems to have been the secret ingredient! I did think of it before, but I was right clicking on the css files and design looking for 'URLs' rather than the entire 'Designs Folder'.


Cheers.