Subdomain help!
-
Hey guys,
I need some help with setting up a subdomain for my images, css and javascript in order to improve page loading times. At the moment i have a fresh wordpress site set up and installed but with no images or css uploaded. For examples sake the domain name is https://mysite.com.
What i would like is a sub domain named https://img.mysite.com
On this sub domain i would like 2 main folders, one for the post(product) images, and one for the assets such as css, javascript and actual site images. These will be as follows:
https://img.mysite.com/assets/
The css, javascript and site images will be in sub folders of assets such as:
https://img.mysite.com/assets/css/
https://img.mysite.com/assets//js/
https://img.mysite.com/assets/img/How do i set this up? Do i go to cpanel and click on sub domains? If so i take it i enter ‘img’ in the subdomain box but what should i put in the document root?
I need to also change the media settings in wordpress so what would go in the ‘store uploads in this folder’ box and ‘full url path to files’?
I’ve tried to search on google for the answers put haven’t had much luck. If anyone could offer any help it would be much appreciated.
Thanks,
patrick
- The topic ‘Subdomain help!’ is closed to new replies.