Jump to content

subdomain help


scvinodkumar

Recommended Posts

hi

 

i have created 5 sub-domain. and i need to access the same files for these 5 sub-domains. but i dont want to upload all the files in each sub-domain folder.

 

for example,

 

--root

  --folder1

    --folder2

    --folder3

    --folder4

  --subdomain folder

 

consider site.com is a domain and subdomain.site.com is a subdomain

 

 

if i enter the url http://site.com/folder1/ like this then i can access all the files under the folder1

 

suppose if enter the url http://subdomain.site.com then how to access all the files under the folder1

 

i hope u peoples can under this easily

 

please help me...:)

 

 

Link to comment
https://forums.phpfreaks.com/topic/154237-subdomain-help/
Share on other sites

hi thanks for your reply.

 

consider i have a file test.php in folder1

 

i will access this file by using the url http://site.com/folder1/test.php

 

now i want to access the same file using subdomain, like http://subdomain.site.com/folder1/test.php

Link to comment
https://forums.phpfreaks.com/topic/154237-subdomain-help/#findComment-810859
Share on other sites

sorry i think i confused u...

 

let me explain clearly,

 

i have a domain http://site.com and there is many folders like folder1,folder2, and etc and each folder there is a test.php file

 

i can access test.php from all the folders by using the url http://site.com/folder1/test.php or http://site.com/folder2/test.php, etc in the browser

 

and now i created the sub-domain "test" so the url will be http://test.site.com

 

the problem is how to access the test.php from the folder folder1,folder2,etc using the subdomain

 

for example, if i enter the url in the browser http://test.site.com/folder1/test.php

 

Link to comment
https://forums.phpfreaks.com/topic/154237-subdomain-help/#findComment-810890
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.