Web Development local server set up and all that.
9 minutes ago, mrchow19910319 said:one more question, when you said different websites,
do you mean :
a) completely different website.
OR
b) one site that contains different pages.
a - for example, if this site was using apache (we actually use nginx), and the prod and beta sites were on the same server, we would have a virtual host for linustechtips.com and one for beta.linustechtips.com, but all the pages within linustechtips.com are handled by one virtual host. In your server configuration, you will have set a base path, probably /var/www/html, so to create multiple pages you just need to add multiple different files within that directory. A very basic example would be that your iamthebest.com/ page is at /var/www/html/index.html (the index.html or .php file is the default if no file is specified), then iamthebest.com/about/ is at /var/www/html/about/index.html (or iamthebest.com/about.html at /var/www/html/about.html), etc.
12 minutes ago, mrchow19910319 said:what about step 3? initial ubuntu server setup??
what about that ? Do i only need to do that in the real server environment???
That step is only needed on a real server, and you would need to do that before you can do step 1 (it is listed as a prerequisite for it).
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now