Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I was issued a domain from my internet company. They said that when I logged in the first time I would get a test page. That page tells me to go to /var/www/html to make changes. How do I do that?

share|improve this question
add comment

closed as not a real question by slm, Mat, Chris Down, Anthon, manatwork Jun 19 '13 at 6:37

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers

/var/www/html makes sense only if you have rented a (virtual) server. And why should somebody who knows nothing about Linux rent a Linux server? Most probably you just got some webspace on a Linux server which you can access via FTP, SFTP and/or WebDAV.

I don't think that this site can (i.e. intends to) help users who don't know how to change to a directory. But most probably that is not even your problem.

You should connect to the server with (S)FTP / WebDAV and the login data which you have been given (or which you must set in the web interface). You will see the needed directory then.

share|improve this answer
add comment

is default appache path

if you look into httpd.conf file you can find that allnetwork interfaces connected to the machine listens to port 80 on the path

Try to place one index.html there with just a hello statement

if you want custom places you have to create a virtual host in httpd.conf file

you can listen to port 80 on one ip and port 80 of another ip on same machine you can also listen to other custom port you want.

Appache also serves a best http reverse proxy where you can keep your value added websites behind it and works as a security.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.