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

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 :)
2 answers Last reply
More about make domain text redirect address ftp access
  1. 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.
  2. 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 :)
Ask a new question

Read More

IP Address Domain Networking FTP