Jump to content
xisto Community
Sign in to follow this  
whistle

How To Build Up A Domain Forwarding Service? (on web hosting)

Recommended Posts

I just buy a domain and hope to share it for url forwarding. Of course, I try to use the free sources as possible. Now all I have is a domain and I am trying to get an account from Xisto.I hope to get PHP scripts that can automatically accept people to request for creating a subdomain or subdirectory for url forwarding or url framing. May anyone give me some advices about where to get the PHP scripts or how to proceed it?

Share this post


Link to post
Share on other sites

usualy domain providers gives a control panel to customers and you can forward your domain to another domain or subdomainif you hav DNS or IP Adrress of your webhost you can enter it in your control panelfor more details contact your domain seller.

Share this post


Link to post
Share on other sites

I think that I did not say it clearly. I mean that I hope to build a site for url forwarding on demand. Control panel does give a good functionality for url forwarding, but only the owner can handle it. A site which can give anyone the url forwarding service is what I desire.

Share this post


Link to post
Share on other sites

I think you cannot do subdomains with PHP here at asta. Simple the script creasting the subdomains requires authentication and thus is only available through cpanel.

But for subdirectories its actually bloody easy.

You just need to create a frontend for the users. They enter url and desired directory name and the the data is submitted to a PHP script that creates appropriate directory and a index.php file in it. All that need to be in the file is:

<?phpheader('location: http://astahost.com;

And it does the job!


I hope this was what you mean.

Share this post


Link to post
Share on other sites

You just need to create a frontend for the users. They enter url and desired directory name and the the data is submitted to a PHP script that creates appropriate directory and a index.php file in it. All that need to be in the file is:

 

<?phpheader('location: http://astahost.com;

<{POST_SNAPBACK}>


It does help! This is a standard url forwarding. How about the cloked url forward? It is also called url framing. May you give me an example too? It will be very helpful.

Share this post


Link to post
Share on other sites

It does help! This is a standard url forwarding. How about the cloked url forward? It is also called url framing. May you give me an example too? It will be very helpful.

<{POST_SNAPBACK}>


Do you mean like the one these "free url" services like dot.tk use?

 

It is simply a page which has one minimal size frame. What you need to have in your index file is a frameset code which sets two frames, one really small (donä't know if width or height 0 is allowed, if not then 1) and one full window sized frame. For the first page set some blank html file and for the latter, the page you want to "redirect".

 

Links indide the big frame should open neatly inside it, as long as there is no target value specified.

 

Unfortunately I can't recall the exact syntax for a frameset, but you should be able to find it with google or some other member will post it here.

Share this post


Link to post
Share on other sites

Do you mean like the one these "free url" services like dot.tk use?

 

It is simply a page which has one minimal size frame. What you need to have in your index file is a frameset code which sets two frames, one really small (donä't know if width or height 0 is allowed, if not then 1) and one full window sized frame. For the first page set some blank html file and for the latter, the page you want to "redirect".

 

<{POST_SNAPBACK}>


Yes, I hope to build up a service like dot.tk. I am seeking for the concept about it. You do direct me a correct direction to work. But it seems that there are a lot of work to do.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
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.