Hello, I want to ask if I access IP Address like 54.3.12.90 and it return a text file like : this is text file {blalallalala }…
I have VPS how can I achieve that ? and If Hosting How Can I do that too ?
Thanks Community !
Hello, I want to ask if I access IP Address like 54.3.12.90 and it return a text file like : this is text file {blalallalala }…
I have VPS how can I achieve that ? and If Hosting How Can I do that too ?
Thanks Community !
Sure, just name the file index.htm and put it in the folder you pointed the IP to. You can also edit the server config to serve text files by default but that is not a normal thing to do. In apache you would edit the config from
DirectoryIndex index.html
To
DirectoryIndex index.html index.txt
Sounds like you are nowhere near having the skills to manage a VPS. You need to be a Sysadmin.
thanks ben, I’ll try that now !
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.