Ah ah ah, this should be done?!

Source: Internet
Author: User
Tags drupal
I applied for a domain name, bought space, built a lamp environment, the server root directory is/var/www
The domain name has now been resolved to the public IP, but access to the domain name, the display is the Apache test page,
What should I do to access the domain name when I jump to another file? For example, to access the domain name, jump to/var/www/drupal/index.php
Ask the great God to enlighten


Reply to discussion (solution)

Are you going to jump? Does the domain name directly refer to this directory? Confirm is to jump then the header bar ...

Are you going to jump? Does the domain name directly refer to this directory? Confirm is to jump then the header bar ...


Do not jump, is to the domain name directly point to this directory.
But I don't know how to do it.
When resolving the domain name can only specify the IP, I now just to resolve the domain name to the public network IP.
What do we do next?


Are you going to jump? Does the domain name directly refer to this directory? Confirm is to jump then the header bar ...


Do not jump, is to the domain name directly point to this directory.
But I don't know how to do it.
When resolving the domain name can only specify the IP, I now just to resolve the domain name to the public network IP.
What do we do next?



Are you sure your domain is binding?



Are you going to jump? Does the domain name directly refer to this directory? Confirm is to jump then the header bar ...


Do not jump, is to the domain name directly point to this directory.
But I don't know how to do it.
When resolving the domain name can only specify the IP, I now just to resolve the domain name to the public network IP.
What do we do next?



Are you sure your domain is binding?


Now only in the million network resolution to the IP address, how to bind it?




Are you going to jump? Does the domain name directly refer to this directory? Confirm is to jump then the header bar ...


Do not jump, is to the domain name directly point to this directory.
But I don't know how to do it.
When resolving the domain name can only specify the IP, I now just to resolve the domain name to the public network IP.
What do we do next?



Are you sure your domain is binding?


Now only in the million network resolution to the IP address, how to bind it?



Modify the index.php under/var/www and then visit http://Your domain/index.php to see if it's on. Just make sure this





Are you going to jump? Does the domain name directly refer to this directory? Confirm is to jump then the header bar ...


Do not jump, is to the domain name directly point to this directory.
But I don't know how to do it.
When resolving the domain name can only specify the IP, I now just to resolve the domain name to the public network IP.
What do we do next?



Are you sure your domain is binding?


Now only in the million network resolution to the IP address, how to bind it?



Modify the index.php under/var/www and then visit http://Your domain/index.php to see if it's on. Just make sure this


I don't know how to modify ...
I want to achieve the effect is: in the Address bar only enter my domain name, click Enter after the contents of the address bar into my domain name/drupal
How do you change it?

I don't know how to modify ...
I want to achieve the effect is: in the Address bar only enter my domain name, click Enter after the contents of the address bar into my domain name/drupal
How do you change it?



If your domain name is already on, create a new index.php file under/var/www
Enter the following code to save:
 
  


I don't know how to modify ...
I want to achieve the effect is: in the Address bar only enter my domain name, click Enter after the contents of the address bar into my domain name/drupal
How do you change it?



If your domain name is already on, create a new index.php file under/var/www
Enter the following code to save:
 
  




I don't know how to modify ...
I want to achieve the effect is: in the Address bar only enter my domain name, click Enter after the contents of the address bar into my domain name/drupal
How do you change it?



If your domain name is already on, create a new index.php file under/var/www
Enter the following code to save:
 
  


Originally in the/var/www has a index.html file, to delete it? This file is Apache's it works page



I don't know how to modify ...
I want to achieve the effect is: in the Address bar only enter my domain name, click Enter after the contents of the address bar into my domain name/drupal
How do you change it?



If your domain name is already on, create a new index.php file under/var/www
Enter the following code to save:
 
  




I don't know how to modify ...
I want to achieve the effect is: in the Address bar only enter my domain name, click Enter after the contents of the address bar into my domain name/drupal
How do you change it?



If your domain name is already on, create a new index.php file under/var/www
Enter the following code to save:
 
  


Originally in the/var/www has a index.html file, to delete it? This file is Apache's it works page



Wonder! Definitely want. Index.html index.php is the default home page.
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.