dongmi1995 2016-01-26 06:58
浏览 93

如何正确地将域名从1and1转发到AWS EC2实例

I have been attempting to forward my domain EmblemsOnDemand.com which is managed on 1and1.com to an AWS EC2 instance (Prestashop Lamp Stack) however when I do so the domain name forwards to the EC2 instance however the name resolves as ec2-52-34-87-245.us-west-2.compute.amazonaws.com.

I would like it to stay EmblemsOnDemand.com and not my automatically generated AWS instance domain. I already assigned an elastic IP to the instance and a Hosted Zone with the following name server settings for 1and1, where I purchased the domain:

NS-0 ns-1871.awsdns-41.co.uk
NS-1 ns-959.awsdns-55.net
NS-2 ns-1212.awsdns-23.org
NS-3 ns-24.awsdns-03.com

Route 53 settings

Other Details: Bitnami Lamp Stack w/ Prestashop on Ubuntu

Also, when I ping the AWS IP, 1and1 Domain, and AWS Domain nothing happens (Request Times Out) however I can SSH, SCP, everything using the any of the IPs/Domains. What am I missing? Thanks for reading this far :)

I have manged to temporarily fix the problem by modifying the htaccess.conf file which takes the place of the .htaccess file as it is more secure however when I reset the the server something overwrites my settings I save, and since I fixed it the one time it doesn't even temporarily fix the issue anymore, it does nothing.

htaccess.conf file keeps getting "EmblemsOnDemand.com overwritten with "ec2-52-34-87-245.us-west-2.compute.amazonaws.com"

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 PSCAD安装问题 ERROR: Visual Studio 2013, 2015, 2017 or 2019 is not found in the system.
    • ¥15 (标签-MATLAB|关键词-多址)
    • ¥15 关于#MATLAB#的问题,如何解决?(相关搜索:信噪比,系统容量)
    • ¥500 52810做蓝牙接受端
    • ¥15 基于PLC的三轴机械手程序
    • ¥15 多址通信方式的抗噪声性能和系统容量对比
    • ¥15 winform的chart曲线生成时有凸起
    • ¥15 msix packaging tool打包问题
    • ¥15 finalshell节点的搭建代码和那个端口代码教程
    • ¥15 Centos / PETSc / PETGEM