I have my own nameservers hosted on my new vps. I have set up a subdomain and uploaded many files there (ftp connects and shows files no problem). The organization is /home/maindomain and /home/subdomain. both have public_html in them. First, does this look right?
When I try to load my domain.tld I get message: Forbidden. You don’t have permission to access / on this server.
And when I try subdomain.domain.tld I get simple “firefox cant find server”
Where should I be looking for errors?
I am very newbie, so you’ll have to tell me where to find things and how exactly to print info and edit in command line. more comfortable with the gui. but eager to learn!
In /home/maindomain/public_html I have a default.html, a stats folder, a squirrelmail folder (which will open in a browser), and a phpmyadmin folder. Looks like I need an index!
The nameservers are pointed at my server, and the ‘DNS domain enabled?’ is checked.
I put a generic “hello world” index.html into my /home/maindomain/public_html folder and it pops up when I shoot my browser to the url.
My main problem is that my subdomina.domain.tld has a ph install script in, that allegedly should provide me a web interface if I direct my browser there. first nothing came up at all, then I realized I had ipv6 information but my server didn’t have ipv6, and when I removed that it showed up as forbidden like my main domain.
now the same “hello world” pops up when I direct my browser to subdomain.domain.tld, but I don’t know why this is. virtualmin informed me that /home/ would be where I found the folders for the domains/subdomina. The folders are there (/home/maindomain and /home/subdomain) but like I said subdomain.domain.tld is pulling up the “hello world” generic index.html that I specifically put into home/maindomain/public_html and not into /home/subdomain/public_html.
Thanks for helping me out, I am learning so much! I really appreciate it.