Wordpress (possible apache

I might be reading it wrong - but from the above, Domain2 is set as the default site. Can you set Domain1 as default?

Edit: What do you have in your sites-available folder & in the sites-enabled folder?

Do your Apache logs for the Virtual Server (Domain2) say anything when you try to reach the page there?

Nothing unusual just GET requests. on the Apache access

Nothing at all on the Apache Errors

Really am needing more coffee with this one.

Set this as well back to how it was

Is the 000-default site enabled? If so - maybe disable it? [bit of a long shot maybe]

Apologies where am i looking for that?

No worries - look in

/etc/apache2/sites-enabled/

Ok so disabled that and still no joy i really dont wanna have to fresh install VPS and Virtualmin etc.

I think if no one else takes on this thread also i may have to go every forum i know :D, but would prefer to keep it here for the learners and keep the encouragement going for Virtualmin/Webmin guys

Did you restart apache after disabling the default site?

I did x2 times first i the Virtualmin GUI 2nd in terminal via ssh.

:pensive:

A this point - maybe strip it down to a really basic block like

<VirtualHost 185.121.25.12:80>
SuexecUserGroup “#1009” “#1009”
ServerName [platoonarena.net](http://platoonarena.net/)
ServerAlias [www.platoonarena.net](http://www.platoonarena.net/)
ServerAlias [mail.platoonarena.net](http://mail.platoonarena.net/)
ServerAlias [webmail.platoonarena.net](http://webmail.platoonarena.net/)
ServerAlias [admin.platoonarena.net](http://admin.platoonarena.net/)
DocumentRoot /home/platoonarena/public_html
ErrorLog /var/log/virtualmin/platoonarena.net_error_log
CustomLog /var/log/virtualmin/platoonarena.net_access_log combined
</VirtualHost>

Although I see nothing blatantly wrong with your original one.

As a side note - have you done a Virtualmin >> Limites & Validation >>Validate Virtual Servers

and a Re-Check Configuration?

Running this Validate platoonarena.net = All features OK

I really have hit a brick wall i think, maybe it is permissions im just going over everything

gonna try the manual install of wordpress although i do not understand why the script installer via virtualmin works fine an dandy on domain1?

I think there’s some underlying issue with the Apache config\setup that’s failing to even serve up a simple “Hello world” index.html file. Until that’s resolved - WP or anything else installed in the public_html folder of Domain 2 won’t work.

Dibs

1 Like

yep really am stumped im gonna try with another domain i own

Here is the End-Game =

My VpS - Running Webmin/Virtualmin
A) To host my Main website
B) to then host other sites i:e platoonarena.net + more

I have the correct set up as discussed with my data center, before i deleted testing to go properly live i had 2 domains both with WP installed and working fine.

Kinda kicking myself now for doing this deletion ( but wanted to get the practice in )

Ive been awake all night trying things so gonna go get some energy food and then get back to beating this wall :wink:

No worries - I’ve been round that roundabout a few times. LOL

So sitting here eating the fresh vegetable soup. OMG even more stumped.

3rd domain i own works with the WP install script i can navigate fine to it

So what must be the problem with the 2nd Domain i really am stumped!

This goes for all scripts Roundcube, Squirrelmail and phpmyadmin???

sudo apache2ctl -S =
default server all-pc.net (/etc/apache2/sites-enabled/0-all-pc.net.conf:1)
port 80 namevhost all-pc.net (/etc/apache2/sites-enabled/0-all-pc.net.conf:1)
alias www.all-pc.net
alias mail.all-pc.net
alias webmail.all-pc.net
alias admin.all-pc.net
port 80 namevhost dbsglobalclothing.com (/etc/apache2/sites-enabled/dbsglobalclothing.com.conf:1)
alias www.dbsglobalclothing.com
alias mail.dbsglobalclothing.com
alias webmail.dbsglobalclothing.com
alias admin.dbsglobalclothing.com
port 80 namevhost platoonarena.net (/etc/apache2/sites-enabled/platoonarena.net.conf:1)
alias www.platoonarena.net
alias mail.platoonarena.net
alias webmail.platoonarena.net
alias admin.platoonarena.net
ServerRoot: “/etc/apache2”
Main DocumentRoot: “/var/www/html”
Main ErrorLog: “/var/log/apache2/error.log”
Mutex proxy: using_defaults
Mutex ssl-cache: using_defaults
Mutex default: dir="/var/run/apache2/" mechanism=default
Mutex mpm-accept: using_defaults
Mutex fcgid-pipe: using_defaults
Mutex authdigest-opaque: using_defaults
Mutex watchdog-callback: using_defaults
Mutex proxy-balancer-shm: using_defaults
Mutex rewrite-map: using_defaults
Mutex ssl-stapling-refresh: using_defaults
Mutex authdigest-client: using_defaults
Mutex fcgid-proctbl: using_defaults
Mutex ssl-stapling: using_defaults
PidFile: “/var/run/apache2/apache2.pid”
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
Define: ENABLE_USR_LIB_CGI_BIN
User: name=“www-data” id=33
Group: name=“www-data” id=33

The fact that you were able to create a 3rd Virtual Server (with domain) and it works - all I can think of is perhaps look for any differences in DNS\BIND. There might not be any - but you’ve looked (almost) everywhere else.

HIH

DIbs

Well heres where i am i’ve opened a ticket i eventually managed to get a WP-install page going and installed it now in back end but im still getting apache default page when visiting site via WP control panel it is very odd.

But thank you ever so much for all your input!

No worries mate. Hopefully you’ll get it resolved. Come back and let us know what the fix\issue was. :wink:

So after a reinstall of Virtualmin to the Server and selecting Detect ip addresses to Automatic everything is working fine for now :smiley: