editing websites

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.

can any one tell me what I have set up wrong?


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.

Thanks for the quick response. I did install and let it do its own thing.

Where would I look at to double check the Dns?? it is my server, and the website does work as far as the internet goes.

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.

… your system is ready for use by Virtualmin.

Well, that seems okay.

If you log in over SSH, and type something like:

host google.com

Does it return an IP address to you?

yes it does

here is what I am thinking, Somehow the image pathways are not being reported correctly by the editor program. Is there a place where this gets setup?

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.

Hmmm Ok, are there any module dependecies that would cause this to fail if they were not running?

and would it help for me to email you login info for you to see what I am talking about?

So you’re saying you have an HTML file, but the images aren’t displaying properly from within the filemanager?

Can you post one of the HTML files that aren’t working as an attachment?

Do any images at all work, perhaps for another Virtual Server on your system?

hope this helps

trying again

and one more time. I tried using the edit button but it said that I had hit a bug.

Okay, yeah, I’d love to see the underlying HTML for the file in that screenshot.

Do any files on your system properly display the images?

And yeah, the forum software here sucks, it’ll be changed out shortly :wink:


Yeah, those should work :slight_smile:

Again though, do any others on your system work properly – especially something on another domain/Virtual Server?

no,domains work with the editor except in text mode. In html they all do as that one does.


Just out of curiosity, if you try changing one of the images to be an absolute link rather than relative, does that happen to make a difference?

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.