Skip to content

Any network/web super geeks able to help me?

Featured Replies

I currently have my own website hosted by microsoft (www.pepnet.co.uk). I also get [email protected] email addresses into the deal.

I have just set up (kind of) a linux Ubuntu server. So until yesterday morning I knew nothing about Linux command line, and not a great deal about hosting web sites. I've done a little bit reading and have samba file sharing set up and working, and an FTP server also working.

Apache2 Question.

I've installed apache2 and ran over some basic config from the Ubuntu site and if I type the IP address of my server into the address bar of my PC I see the 'It Works' page letting me know apache is configured and working.

Now, I have uploaded a web page (home.html) into /var/pepweb what do I do next to get it to display my page and not the 'It Works' page?

DNS Question.

As I said I have 'pepnet.co.uk' domain. I set up a subdomain 'home.pepnet.co.uk' to use to view my home server. I have set up an account on dyndns which gives me 'pepnet.dyndns-home.com' which always points to my home router even when it changes it's IP, my router updates the dyndns site if it changes. How/what do I set on my 'home.pepnet.co.uk' domain to point it to the dyndns address?

TIA

I'm in no way a boffin in relation to this Paul but I'm guessing that you are still having your web pages directed to the Office 365 site and not to your home computer.

I currently have my own website hosted by microsoft (www.pepnet.co.uk). I also get [email protected] email addresses into the deal.

I have just set up (kind of) a linux Ubuntu server. So until yesterday morning I knew nothing about Linux command line, and not a great deal about hosting web sites. I've done a little bit reading and have samba file sharing set up and working, and an FTP server also working.

Apache2 Question.

I've installed apache2 and ran over some basic config from the Ubuntu site and if I type the IP address of my server into the address bar of my PC I see the 'It Works' page letting me know apache is configured and working.

Now, I have uploaded a web page (home.html) into /var/pepweb what do I do next to get it to display my page and not the 'It Works' page?

Replace index.htm or index.html with your page. (this is usally, I think, in /var/www/, unless you set it up differently. You'll find index.html is the 'it works' page, if you look at it in an editor.

DNS Question.

As I said I have 'pepnet.co.uk' domain. I set up a subdomain 'home.pepnet.co.uk' to use to view my home server. I have set up an account on dyndns which gives me 'pepnet.dyndns-home.com' which always points to my home router even when it changes it's IP, my router updates the dyndns site if it changes. How/what do I set on my 'home.pepnet.co.uk' domain to point it to the dyndns address?

TIA

Set up a CNAME or alias for 'home.pepnet.co.uk' pointing to 'pepnet.dyndns-home.com'.

Taking your questions in order:

1) Apache config

What you'll probably find easiest to do is to edit the default config and just change the DocumentRoot to /var/pepnet. All the other settings should be pretty sane to start with anyway. If you need to start making other changes then it's better to put everything in a seperate config, but keeping it simple to start with helps.

2) DNS question

Depending on how much control you have over your pepnet.co.uk domain, you can probably add a CNAME record called home.pepnet.co.uk which has the value "pepnet.dyndns-home.com". This should mean that whenever someone does a DNS query for "home.pepnet.co.uk" the DNS server will also lookup the current IP address for pepnet.dyndns-home.com, and then return that.

Stuff you haven't mentioned, you'll need to enable port forwarding on your broadband router for port 80 in order to make the website available.

I would install Webmin to help you manage the Ubuntu server - you can use it to set up Apache to your liking - virtual hosts is what you need I think.

You can download Webmin from their website, it isn't included in the Ubuntu repositories by default.

  • Author

Thanks chaps, all sorted.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Important Information

Welcome to BRISKODA. Please note the following important links Terms of Use. We have a comprehensive Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.