Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to host multiple websites with Ajenti-V #290

Open
tokunboajewole opened this issue Aug 27, 2020 · 0 comments
Open

How to host multiple websites with Ajenti-V #290

tokunboajewole opened this issue Aug 27, 2020 · 0 comments

Comments

@tokunboajewole
Copy link

Hello there,
Installed Ajenti-V and everything seems to be working fine, except the path where websites are served from.

I have 2-domains registered and correctly pointed to server.

From the dashboard, I created a website, set the path to the directory of my choice, uploaded a sample index.html file, applied changes, etc, but the expected page isn;t opening.

I found the page that opened was this: /var/www/html/index.nginx-debian.html

If I rename the above and upload my own index.html file into /var/www/html/, yes my index.html file displays correctly when I use my domain in the URL.

Like, i want to have multiple sites, so I assume that by setting my path for each website as: /var/www/html/domain1.com and /var/www/html/domain2.com, each should work.

I created 2 websites in my dashboard and set the path as above, but I observe that the server is still returning the index file here: /var/www/html/index.html. If I delete this index file, i get error 403.

Note: I restarted the ajenti service, and the server, just to be sure, but same issue persists. Please help.

regards
Tokunbo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant