Score:-3

Extracting localhost

lc flag

I am trying to transfer my website which is currently on localhost to my domain. To do this, I need to extract the files from localhost and compress it into a zip file.

I have doubts about the possibility of this, so if you have a solution for my original problem, which is to transfer my localhost to a domain, please comment!

By the way, I have a Hostinger domain and Hostinger's Single Web Hosting. I am using Ubuntu 22.04. And I don't know the physical location to localhost!

Important: I do not want to make any more purchases!

snaeil avatar
bq flag
Why do you need to compress the files? Can't you just use `scp` for transferring the files?
Score:0
bq flag

If you don't necessarily need a zip archive and can access the server via ssh, scp is probably the fastest and easiest way to transfer data.

Example:

scp -r /your/local/path/to/directory username@<IP_ADDRESS>:/your/path/on/server
remmymilkyway avatar
lc flag
Thanks for the hint. But first, I don't know the physical location to localhost. Secondly, I don't know Hostinger well, so I don't know how to fill in `username` and `IP_ADDRESS`.
vidarlo avatar
om flag
Then you have to figure out *where* on you computer the stuff you want to transfer is located, and you have to figure out the username and ip or hostname. There's no way around this.
remmymilkyway avatar
lc flag
@vidarlo Can you provide some suggestions as on how to do this?
vidarlo avatar
om flag
For the first point - you have done something to create a website. Where are those files? What did you do to create the website? For the second and third - read the documentation from hostinger.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.