When you go to mydomain.com my sites works like a charm But when you go to the IP address of my site, it says "This is the LxAdmin Default Page" I have deleted that page, and edited the etc/lightppd/lightppd.conf file root document to "home/admin/public_html/" But now its giving a 404 error, help anyone???
What are you trying to do, exactly? See, when you visit mydomain.com, the server checks its config files, sees that it has a config file for mydomain.com and displays it. If you go the IP, it doesn't have a config file for that and thus displays the default page.
Also in lxadmin u can directly select a default domain from the control panel per ip . just go to ip address section