
host a website without logging in?
host a website without logging in?
Hello. I'm hoping to host a simple website from home. Following the wiki, I created a new web-app named "Website" and placed a index.html file in the "/var/hda/web-apps/Website/html" folder, and have "mydomain.com" in the conf file. From any computer on my home network, I can type "website" in the browser and see the index.html. When I try "mydomain.com" from outside though, it directs to "mydomain.com/user_sessions/new" and prompts to log in to the Amahi dashboard. Did I maybe misunderstand something? Is it possible to host a public site without making people log in? It seems like something simple. If it's not so simple, I apologize... Any info would be much appreciated 

Re: host a website without logging in?
Did you add username.yourhda.com to the .conf file for website? I presumed you created a web-app called website, then modified the ####-website.conf file in /etc/httpd/conf.d directory as indicated, and restarted httpd.
The wiki can be confusing. Also it's best not to use upper case with the app names. This would be treated like a web app, but actually will only be the index.html file. It should not direct you to the login page, just your website app.
Does that make sense?
The wiki can be confusing. Also it's best not to use upper case with the app names. This would be treated like a web app, but actually will only be the index.html file. It should not direct you to the login page, just your website app.
Does that make sense?
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: host a website without logging in?
Yeah, makes sense, and no I did not have username.yourhda.com in there, just "website.lan.com" and "mydomain.com". So, I deleted the "Website" webapp and created a "website" webapp, modified the xxxx-website.conf with "ServerAlias mydomain.com", reloaded httpd, copied the "index.html" to html folder, and it did the same thing. Then I tried changing the conf to read "ServerAlias www.mydomain.com" instead of "mydomain.com" and it seems to be working now...
Thanks for the info
got to remember to watch the upper case letters
Thanks for the info

Who is online
Users browsing this forum: No registered users and 14 guests