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. Quote Link to comment 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 Quote Link to comment 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? Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
dezkit Posted August 6, 2008 Author Share Posted August 6, 2008 it doesn't have cpanel... bump Quote Link to comment Share on other sites More sharing options...
dezkit Posted August 7, 2008 Author Share Posted August 7, 2008 bump Quote Link to comment 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. Quote Link to comment 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? Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.