dezkit Posted August 6, 2008 Share Posted August 6, 2008 hi, i got a website that has unlimited space and bandwidth, i will not state its name and for example the name is "mywebsite.com" i want to buy a DOMAIN NAME called "myotherwebsite.com" What i want to do is so that all the contents from "mywebsite.com/uploader" will be on "myotherwebsite.com" so for example: when people are on "myotherwebsite.com/some_directory/another/again/index.php" the contents are really from "mywebsite.com/uploader/some_directory/another/again/index.php" this is 5% php 95% something else i hope this is php. thanks p.s. move to an apporpriate board if needed, mods. Link to comment https://forums.phpfreaks.com/topic/118392-need-some-help/ Share on other sites More sharing options...
BioBob Posted August 6, 2008 Share Posted August 6, 2008 Sounds more like a virtual directory rather than needing a php script. Really all that happens there is mywebsite.com/contents is the root folder for myotherwebsite.com Link to comment https://forums.phpfreaks.com/topic/118392-need-some-help/#findComment-609299 Share on other sites More sharing options...
dezkit Posted August 6, 2008 Author Share Posted August 6, 2008 yea, so what do i do? is this like dns, or what? Link to comment https://forums.phpfreaks.com/topic/118392-need-some-help/#findComment-609301 Share on other sites More sharing options...
dezkit Posted August 6, 2008 Author Share Posted August 6, 2008 bump before i go to sleep, please guys help me, this is very urgent Link to comment https://forums.phpfreaks.com/topic/118392-need-some-help/#findComment-609311 Share on other sites More sharing options...
MasterACE14 Posted August 6, 2008 Share Posted August 6, 2008 if your webhost has Cpanel or something similar you should be able to setup directory redirects or something similar. Link to comment https://forums.phpfreaks.com/topic/118392-need-some-help/#findComment-609408 Share on other sites More sharing options...
dezkit Posted August 6, 2008 Author Share Posted August 6, 2008 it doesn't have cpanel... bump Link to comment https://forums.phpfreaks.com/topic/118392-need-some-help/#findComment-609953 Share on other sites More sharing options...
dezkit Posted August 7, 2008 Author Share Posted August 7, 2008 bump Link to comment https://forums.phpfreaks.com/topic/118392-need-some-help/#findComment-610992 Share on other sites More sharing options...
Stooney Posted August 7, 2008 Share Posted August 7, 2008 say you have your webspace htdocs/site1/site2 Just set the webroot of each domain as needed. site1.com - htdocs/site1 site2.com - htdocs/site1/site2 Unless I'm completely off as to what you want. Link to comment https://forums.phpfreaks.com/topic/118392-need-some-help/#findComment-611014 Share on other sites More sharing options...
dezkit Posted August 7, 2008 Author Share Posted August 7, 2008 yeah, just like that, how do i do that? Link to comment https://forums.phpfreaks.com/topic/118392-need-some-help/#findComment-611114 Share on other sites More sharing options...
discomatt Posted August 7, 2008 Share Posted August 7, 2008 This is 100% Something else. Don't mark things as urgent when you aren't paying for help. We'll help you at our own pace and if you don't like it, take your problem somewhere else. There's no way to make a virtual reference to the other files with PHP.... It _MIGHT_ be possible using only mod_rewrite, but chances are you're gonna need to set up a VirtualHost in apache itself. Talk to your host about this, they may set it up for you. Link to comment https://forums.phpfreaks.com/topic/118392-need-some-help/#findComment-611127 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.