Hi, got an ubuntu server on the go with 2 wordpress sites.
I’ve updated the ‘site address’ in my settings to point to the domains I’ve got hosted.
When trying to access either one externally I’m just brought to the apache page, I’ve done WP multiple times in Windows and never had this issue, usually I can just slap in the Site address to be http://123.com and on the other WP install do http://1234.com and then when accessing them from an external source I’m pointed to the correct one
If I go to http://123.com/123 I can still access it this way, just not solely on their FQDN.
I’m sure there’s something simple I’ve missed relating to a .conf or index.php file or something.
Thanks
Update: I made this post because I was lazy and sick of learning and just wanted the answer, it’s late and I’m ready for bed.
23 minutes later and I’ve since done a bit more research and made 2 virtual host files and enabled them while disabling the default apache one.
Issue resolved, all working now, cheers.
Further update:
Well, it’s broken all my 127.0.0.1/123/wp-admin links and going to 123.com/wp-admin isn’t working either now, guessing this is a combination of a few things, DB not able to be logged into remotely, wordpress address needs updating in the options table.
Bed time for me, will update in 20 hours.
[ad_2]
How have you installed wp on your Ubuntu server? I use easy engine on my Ubuntu local server, which handles much of the deployment headaches like this.
And yeah, you probably have something misconfigured server side, not site routing etc. What server version are you running?
You might want to take a look at an open source web admin panel to handle the configs for you. Check out ispconfig. Falco has great step by step build guides.
I used to rock ispconfig until I moved to Plesk as we host a few hundred WordPress sits now.