Sign in with
Sign up | Sign in
Your question

Can I make domain.com/text for example redirect to an IP address for ftp access

Last response: in Networking
Share
June 6, 2013 9:49:45 AM

I want to have my website have a com/text that redirects to my IP so I can use domain.com/text as a FTP URL

Thanks :) 
June 6, 2013 12:24:29 PM

So create a index.html in that folder. Code that page with the code below. (modify the part says yourip to your actual ip)


<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Redirect to ftp</title>
<meta http-equiv="refresh" content="0;URL='ftp://yourip'" />
</head>
<body>
</body>
</html>

so when you go to domain.com/text it will automatically send you to index.html and index.html will forward you to your ftp.
m
0
l
June 6, 2013 1:24:55 PM

davidred15 said:
So create a index.html in that folder. Code that page with the code below. (modify the part says yourip to your actual ip)


<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Redirect to ftp</title>
<meta http-equiv="refresh" content="0;URL='ftp://yourip'" />
</head>
<body>
</body>
</html>

so when you go to domain.com/text it will automatically send you to index.html and index.html will forward you to your ftp.



Brilliant, thanks a lot :) 
m
0
l
!