Export List of URLs in CSV format

I think that I might have requested this feature before. I’m not sure, I can’t find stuff via search very often :slight_smile:

I really wish that hestiaCP had more places to ‘download a CSV’ of sites, or sites_enabled, etc
I’m constantly needing to do THAT by hand, and it drives me crazy.
I typically NAME each user

u301, u302, etc
Then the CAPTION ? (Last name, I think) I set to yourdomain.com

So yes, I’d like to be able to ‘export a list of all my sites’ occassionally.

That is a single line find | awk > csv command to run in /home
Simply because both, the name and the web domain, are in that path. Use your sysadmin powers to build and run that command.

Or ask chatgpt/claude/copilot to do it for you.

This lists all sites for all users, you could pipe it and format it csv or any way you would like to:

for user in $(v-list-users plain | cut -f1); do echo "=== $user ==="; v-list-web-domains $user; done

My slight variation on the answer above, possibly better for importing into spreadsheets or further processing.
for user in $(v-list-users plain | cut -f1); do v-list-web-domains $user plain | awk -v u="$user" '{print u, $1}'; done