• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Server root ftp

K

keiron77

Guest
How can I upload an index file to the server's root so that if the ip address is entered it displays the page rather than the server's default page. I have tried accessing the server using the admin username and password using ftp and it won't let me in.
 
Well...
#1
you could enable root login for ftp in the proftpd.conf but that is not exactly recommended.
#2
you could ssh to the server cd to the dir and wget it from somewhere or create the index.html from there.
#3
what I recommend. Using the control panel.
A domain can be set as default for an IP on the Server > IP Addresses page. Click on the number in the "Hosting" column on this page opposite of needed IP address. Then choose the domain you wish to be default one. And push "Set As Default" link.

So when the ip address is requested the client is sent to the default domain chosen for that ip...
 
Thanks for that. I used your recommended option and it worked a treat!
 
Back
Top