Linked Questions

1 vote
0 answers
200 views

One IP, Two Virtual Hosts [duplicate]

I have two sites with DNS pointing at a single IP and two corresponding xxx.conf files in Apache2. When I enter either host's domain name from an external browser Apache always returns the first ...
George Jefferson's user avatar
0 votes
0 answers
27 views

Ubuntu server mapping to two domains independently? [duplicate]

I have a wordpress blog running on my Ubuntu server. I want it so: domain1.com loads domain1.com in the URL bar domain2.com loads domain2.com in the URL bar each of these domains points to the same ...
John Lippson's user avatar
0 votes
0 answers
26 views

Apache redirects [duplicate]

I have a server called dad.co.uk. This used to work in a very standard way. My daughter wanted me to host her website for free and so her site girl.co.uk now lives in /home/daughter/public_html ...
nerak99's user avatar
  • 101
24 votes
2 answers
67k views

How to set a domain to ip address?

You can reach this IP address 2.186.116.46 (if my computer is online). I want to assign a domain to it so I wonder how is that possible when I have no DNS? I do own my domain which is ".com". My IP is ...
Shadow4Kill's user avatar
2 votes
1 answer
4k views

When does Ubuntu 16.04 use /etc/apache2/ssl/apache.crt?

I have some Ubuntu 16.04 server running and set up one vhost in apache2 which uses (or should use) ssl. <IfModule mod_ssl.c> <VirtualHost *:443> ServerAdmin myemail@...
Andi S.'s user avatar
  • 209
2 votes
1 answer
5k views

Setting up vhost on VirtualBox with Ubuntu 16.04 [duplicate]

I am pretty new to development and this is why I am stuck at such a "beginners" problem. I want to have a directory under /var/www/mysite with a index.html and access it via web browser on my PC (...
nico's user avatar
  • 23
3 votes
3 answers
5k views

Apache virtual host issue or dns issue?

I posted this question before but I guess it wasn't clear the way I wrote it or something. So I deleted it and here it is again with as much info as I can think of. I created a server using old ...
Taux1c's user avatar
  • 76
5 votes
1 answer
3k views

Failed to upgrade certbot on Ubuntu Bionic

I have installed previously Certbot on Ubuntu, but I believe the package wasn't yet available for this distribution yet, so I believe I installed it from a pre-built package (maybe, I'm really not ...
Lippai Zoltan's user avatar
3 votes
1 answer
2k views

Let's Encrypt, Apache2 - Editing vhosts properly

What is the proper way to edit /etc/apache2/sites-enabled when there is example.com.conf and example.com-le-ssl.conf? Should I edit both the files when changing something? Or only one and then ...
devondre's user avatar
  • 145
1 vote
1 answer
850 views

How do I change the default 'hostname.local' apache config

OS: Ubuntu 19.10 I'm playing around with Apache so I can learn how to configure it, so I installed it via apt-get and took a look at the config directories. I also am vaguely aware that with Apache ...
liquidus219's user avatar
1 vote
1 answer
870 views

WordPress website on separate port on my nextcloud server?

I am running a very small home server using an old machine, nothing special. It is running Ubuntu 18.04 with live patch and the latest SNAP install of Nextcloud. It is live on the internet via my ...
WeeseNXT's user avatar
1 vote
1 answer
495 views

I want to access two websites from same IP but diff ports

I have deployed my apps on apache and can access them from sites-available . but at a time I can enable 1 I think. how to enable both at a time in on diff port?
gamer's user avatar
  • 113
0 votes
1 answer
360 views

Can I host two sites, one domain based and on ip based, on the same apache server?

Am trying to host website example.com on my current Ubuntu server. I have created the directories for it: /var/www/html/example.com/public_html and within sites-enabled I created example.com.conf &...
Daniel Kaplan's user avatar
0 votes
1 answer
388 views

Unable to open MediaWiki after the installation of NextCloud

I have installed MediaWiki in my Ubuntu 18.04 and able to get it running properly. After that, I installed NextCloud which is also working fine. But the former stopped working . Error: Not found. The ...
Ender's Code's user avatar
1 vote
0 answers
97 views

WP Multi-Site Install on Ubuntu 18.04 LAMP Keeps Re-Directing URL

After a few weeks of head banging... I am very near to completing a local development environment for my WP Multi-Site Installation. The final problem that I have (wishful thinking), is that the ...
nightwatch's user avatar

15 30 50 per page