Jump to content
xisto Community
Sign in to follow this  
AlternativeNick

Domain Question

Recommended Posts

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

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 so

http://forums.xisto.com/no_longer_exists/

Hopefully that helps you out nick.

Share this post


Link to post
Share on other sites

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

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.php

or whatever file you want...this will load paste.php, instead of index.php when someone visits altscripts.net

Hope that`s what you need :lol:

Share this post


Link to post
Share on other sites

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

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

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 :lol:

Share this post


Link to post
Share on other sites

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 :lol:. But I think I got it though. Glad one of those responses helped out ^_^.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.