Hi,
I have installed webmin,and virtualmin. All seems to be working correctly but
if I go to use the file manager and go to my website and use the edit every thing come up but the images. It just shows them as blank boxes.
Sounds like DNS isn’t working for the domain on which the site resides. Usually, if you use our install.sh script, the server will be setup to use the local name server…which pretty much is guaranteed to work for local domains, if Virtualmin is configured correctly. But, if you’ve opted not to do that, or aren’t hosting your own DNS service, then you’ll need to correct the problem at the DNS server that is authoritative for the zone.
Ok I just did a configuration check. I hope this will help.
The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active …
BIND DNS server is installed, and the system is configured to use it.
Apache is installed.
MySQL is installed and running.
Using network interface eth0 for virtual IPs.
Default IP address for virtual servers is ?.?.?.?. ( I removed the IP )
Quotas are not enabled on the filesystem / which contains home directories under /home (This is Not the wher my domain is). and email files under /var/spool/mail. Quota editing has been disabled.
Shell /bin/false for FTP users is not included in /etc/shells, which may prevent FTP access.
All commands needed to create and restore backups are installed.
You didn’t use install.sh, or it failed to complete successfully. That config check indicates several differences from the way it would be running by default if you used install.sh.
But, it does indicate that the system has localhost in resolv.conf…so my suspicion about the cause of this problem is probably wrong. I guess it isn’t DNS. Though I’m having a hard time imagining what else it would be.
Somehow the image pathways are not being reported correctly by the editor program. Is there a place where this gets setup?
You’re assuming the editor knows or cares about images. It doesn’t. It displays images based on what’s in the file. If they are relative, that’s what it serves. If they are absolute, that’s also what it serves. If the lookup for that hostname fails, it can’t get the images to show you.
This is why my first suspicion was that DNS is broken on your system or for your domain. If it isn’t, I don’t actually know what could cause the symptom you describe.
I just noticed you said you got to the website editor through the File Manager…the file manager isn’t domain aware. So, only absolute links will mean anything to the editor within it–or links that work on whatever the hostname of the system is.
The Edit Web Pages link within Virtualmin Professional is domain-aware, and would work in this circumstance, assuming DNS works.