AlternativeNick 0 Report post Posted December 11, 2006 Hi, im wondering if i could set up a domain pointed at a specific file on my hosting.I currently have http://forums.xisto.com/no_longer_exists/,'>http://forums.xisto.com/no_longer_exists/, and id like to have http://forums.xisto.com/no_longer_exists/ point to that page (not a redirect)the question that im asking is, how would i set that up? i know a parked domain will point to my main domain correct?also. id like any get data included in the url (ex. http://forums.xisto.com/no_longer_exists/?act=view&id=1 => http://forums.xisto.com/no_longer_exists/?act=view&id=1)if you can direct me, id really appreciate it, thanks Share this post Link to post Share on other sites
Saint_Michael 3 Report post Posted December 11, 2006 Nick either way you cut it, you will need to set up a redirect. So for what your asking you would either purchase new domains and redirect that way or set up sub-sub domains in the add-on domains section in your cpanel.To answer your second question yes when your parking your domain in your Xisto cpanel it will point to that TLD.The next part it could be done in the redirect but you would have to set up a php navigation script like sohttp://forums.xisto.com/no_longer_exists/Hopefully that helps you out nick. Share this post Link to post Share on other sites
BuffaloHelp 24 Report post Posted December 11, 2006 It's a tough question because I don't understand the question intended.You have your domain. You also have index file for your domain. But instead of index, you want your domain to point to another file instead of index file?Couldn't you make paste.php to index.php? Problem solved.But are you asking leave the current index as is and make your domain point to another file named paste.php?? Still doesn't make any sense of what you are asking but if you want to set so that when people type your domain name, it goes straight to domain/paste.php, you can redefine which file to be shown as the first page in your .htaccess file. You can define which file to be loaded first. This is another trick where home.html can be used for some ISP hosting services and google hosting service. Share this post Link to post Share on other sites
farsiscript 0 Report post Posted December 11, 2006 dear AlternativeNick you want url forwarding ?you must parket new domain in your cpanelwhen i typing this url : http://forums.xisto.com/no_longer_exists/ redirect user to this url : http://www.newdomain.com/page.php?id=1have good time Share this post Link to post Share on other sites
hts 0 Report post Posted December 11, 2006 erm..maybe this is want you want (don`t know, you were given several solving methods, I`ll just add mine ):put this code in a htaccess file and upload it in the root of your site: DirectoryIndex paste.phpor whatever file you want...this will load paste.php, instead of index.php when someone visits altscripts.netHope that`s what you need Share this post Link to post Share on other sites
BuffaloHelp 24 Report post Posted December 11, 2006 Here is another thought:If you want to keep your current index.php as is but want to make paste.php as your home page, you can rename it simply to index.html (unless you need it as PHP script).These are the order in which Xisto hosting will display your index page.index.htmlindex.htmindex.phpI think there is one more but it is not supported by Xisto, I guess. So theoretically you can have 3 index pages in your web hosting...just that only ONE gets to show first. Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted December 12, 2006 home.html is also used on some servers as the index.html we are familiar with. Share this post Link to post Share on other sites
Saint_Michael 3 Report post Posted December 12, 2006 Wow buff you right that could work by changing the .html to .htm .shtml .php .asp then in a way you have you main index's for the site. Then of course you still have to redirect either through the cpanel, php, htaccess, javascript. Share this post Link to post Share on other sites
AlternativeNick 0 Report post Posted December 12, 2006 what i meant is that i have 2 domains, altscripts.net and altpaste.neti wanted for altpaste.net to point to this file altscripts.net/paste.phpi changed some things around, and made a subdomain from altscripts.net (paste.altscripts.net) and added altpaste.net as an addon domain, pointed to paste.altscripts.netsorry for the confusion, and thanks for the replies. i never knew you could do all that with htaccess Share this post Link to post Share on other sites
Saint_Michael 3 Report post Posted December 12, 2006 Of course I learned something new about the index's and I always thought the index's would have been overridden regardless of the doc type.Of course I just got confused by your last post Nick . But I think I got it though. Glad one of those responses helped out . Share this post Link to post Share on other sites